-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix an IE bug where the layout engine internally calls the userland `…
…Object.getOwnPropertyNames`. This is nasty, but since this only occurs when: a) an iframe is created, in which case, it will be a fresh `window`, so the `cachedWindowNames` should be the same list b) a user manually grabs the `window` object from a different realm (ie, cross-frame iframe), and passes it into `Object.getOwnPropertyNames`. I'm not sure if this is even possible, but since trying to *do* anything with the property names on the foreign `window` object will throw a security error, I'm OK with not throwing one here. Fixes #333
- Loading branch information
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters