SteveSanderson / knockout-es5

Knockout.js meets ECMAScript 5 properties
158 stars 39 forks source link

Fix Access Denied Errors in IE 11 #43

Closed matthemsteger closed 9 years ago

matthemsteger commented 9 years ago

Fix access denied errors in IE 11 when a cross origin frame tries to use getOwnPropertyNames. Apparently IE has a bug where it uses the function defined in the original window.

This is a similar fix as is in an ES6-Shim.

It seemed to address the issue for me. Am using knockout-es5 on Microsoft Office 365 where they create many cross origin iframes.

archangel-irk commented 9 years ago

Thank you very much.