Merge pull request #8907 from electron/plugin_list_patch
renderer: reset plugin cache when render frame is created
This commit is contained in:
commit
48152a813b
1 changed files with 3 additions and 0 deletions
|
@ -271,6 +271,9 @@ void AtomRendererClient::RenderFrameCreated(
|
|||
// FIXME(zcbenz): Can this be moved elsewhere?
|
||||
blink::WebSecurityPolicy::registerURLSchemeAsAllowingServiceWorkers("file");
|
||||
|
||||
// This is required for widevine plugin detection provided during runtime.
|
||||
blink::resetPluginCache();
|
||||
|
||||
// Parse --secure-schemes=scheme1,scheme2
|
||||
std::vector<std::string> secure_schemes_list =
|
||||
ParseSchemesCLISwitch(switches::kSecureSchemes);
|
||||
|
|
Loading…
Reference in a new issue