Fix webcomponents polyfill loading

This commit is contained in:
hensm
2019-07-02 05:08:49 +01:00
parent 5fd0649200
commit 98656874f1
4 changed files with 23 additions and 10 deletions

View File

@@ -4,10 +4,7 @@ import { CAST_LOADER_SCRIPT_URL
, CAST_SCRIPT_URLS } from "../endpoints";
const _window = (window.wrappedJSObject as any);
_window.chrome = cloneInto({}, window);
_window.navigator.presentation = cloneInto({}, window);
(window.wrappedJSObject as any).chrome = cloneInto({}, window);
/**