es6-shim: Access is denied errors on IE11 latest
I’m running on windows 8.1 x64 and I noticed that I’m getting access denied errors. If it matters I’m running es5 and es6 shim on ie edge.
if (!objectGOPNAcceptsPrimitives) {
var originalObjectGetOwnPropertyNames = Object.getOwnPropertyNames;
defineProperty(Object, 'getOwnPropertyNames', function getOwnPropertyNames(value) {
return originalObjectGetOwnPropertyNames(ES.ToObject(value));
}, true);
Value.preserveToString(Object.getOwnPropertyNames, originalObjectGetOwnPropertyNames);
}


About this issue
- Original URL
- State: closed
- Created 9 years ago
- Reactions: 1
- Comments: 50
This appears to reproduce simply by embedding a cross-domain iframe in the page somewhere: https://jsfiddle.net/tm0bsbt1/9/
The issue goes away if you point the frame at “about:blank”: https://jsfiddle.net/tm0bsbt1/12/