- 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
new AtomRenderViewObserver(render_view, this);
  blink::WebFrameWidget* web_frame_widget = render_view->GetWebFrameWidget();
  if (!web_frame_widget)
    return;
  base::CommandLine* cmd = base::CommandLine::ForCurrentProcess();
  if (cmd->HasSwitch(switches::kGuestInstanceID)) {  
    web_frame_widget->setBaseBackgroundColor(SK_ColorTRANSPARENT);
  } else {  
    
    std::string name = cmd->GetSwitchValueASCII(switches::kBackgroundColor);
    
    SkColor color = name.empty() ? SK_ColorWHITE : ParseHexColor(name);
    web_frame_widget->setBaseBackgroundColor(color);
  }
}
void AtomRendererClient::DidClearWindowObject(
    content::RenderFrame* render_frame) {
  
  render_frame->GetWebFrame()->executeScript(blink::WebScriptSource("void 0"));
}
void AtomRendererClient::RunScriptsAtDocumentStart(
    content::RenderFrame* render_frame) {
  
  node::Environment* env = node_bindings_->uv_env();
  if (env) {
    v8::HandleScope handle_scope(env->isolate());
    mate::EmitEvent(env->isolate(), env->process_object(), "document-start");
  }
}
void AtomRendererClient::RunScriptsAtDocumentEnd(