- Electron version: 1.2.7
- Operating system: Mac OSX El Capitan
- Widevine CDM version: 1.4.8.885

I'm trying to build an app which play widevine-encrypted video. My prototype works only if I type `navigator.plugins` in console or if I execute `console.log(navigator.plugins);` (with console open). Otherwise it won't work.

I tried it with shaka player demo page and with local dashjs-based player.

atom/renderer/atom_renderer_client.cc
v8::Handle<v8::Context> context, content::RenderFrame* render_frame) {
  
  
  if (!render_frame->IsMainFrame() && !IsDevToolsExtension(render_frame))
    return;
  
  if (!node_integration_initialized_) {
    node_integration_initialized_ = true;
    node_bindings_->Initialize();
    node_bindings_->PrepareMessageLoop();
  }
  
  node::Environment* env = node_bindings_->CreateEnvironment(context);
  
  atom_bindings_->BindTo(env->isolate(), env->process_object());
  AddRenderBindings(env->isolate(), env->process_object(),
                    preferences_manager_.get());
  
  node_bindings_->LoadEnvironment(env);
  if (node_bindings_->uv_env() == nullptr) {
    
    node_bindings_->set_uv_env(env);
    
    node_bindings_->RunMessageLoop();
  }
}
void AtomRendererClient::WillReleaseScriptContext(