You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There should be no errors, as in Greasemonkey and Tampermonkey.
Executing window.b.key in the console should print "value".
Actual behavior
Uncaught ReferenceError: cloneInto is not defined
Your environment
Chrome 61
Windows 10 14393
Note that in Firefox, accessing window.a.key will throw an error Error: Permission denied to access property "key". This restriction is not present in Chrome.
The shim used by Tampermonkey is function cloneInto(a) { return a; }.
The text was updated successfully, but these errors were encountered:
I think it makes sense to apply shim for createObjectIn, exportFunction for Chrome too. Tampermonkey includes it and userscript authors may use them without checking user agents.
Steps to reproduce
Expected behavior
window.b.key
in the console should print"value"
.Actual behavior
Uncaught ReferenceError: cloneInto is not defined
Your environment
Chrome 61
Windows 10 14393
Note that in Firefox, accessing
window.a.key
will throw an errorError: Permission denied to access property "key"
. This restriction is not present in Chrome.The shim used by Tampermonkey is
function cloneInto(a) { return a; }
.The text was updated successfully, but these errors were encountered: