- 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
return static_cast<GURL>(render_frame->GetWebFrame()->document().url())
      .SchemeIs("chrome-extension");
}
std::vector<std::string> ParseSchemesCLISwitch(const char* switch_name) {
  base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
  std::string custom_schemes = command_line->GetSwitchValueASCII(switch_name);
  return base::SplitString(
      custom_schemes, ",", base::TRIM_WHITESPACE, base::SPLIT_WANT_NONEMPTY);
}
}  
AtomRendererClient::AtomRendererClient()
    : node_integration_initialized_(false),
      node_bindings_(NodeBindings::Create(false)),
      atom_bindings_(new AtomBindings) {
  isolated_world_ = base::CommandLine::ForCurrentProcess()->HasSwitch(
      switches::kContextIsolation);
  
  std::vector<std::string> standard_schemes_list =
      ParseSchemesCLISwitch(switches::kStandardSchemes);
  for (const std::string& scheme : standard_schemes_list)
    url::AddStandardScheme(scheme.c_str(), url::SCHEME_WITHOUT_PORT);
}
AtomRendererClient::~AtomRendererClient() {