-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct CrossOriginProperties and callers
Having CrossOriginProperties include the document-tree child browsing context name properties was incorrect for all its callers. The IDL object they are defined upon is not accessible across origins. CrossOriginGetOwnPropertyHelper would end up checking the [[Value]] slot of undefined (i.e., a specification error), as they are not own properties of the global object. And CrossOriginOwnPropertyKeys was excluding them deliberately (though then for "then" incorrectly assuming they were included anyway). WPT html/browsers/origin/cross-origin-objects/cross-origin-objects.html seems to be testing all this as expected. Closes #5393.
- Loading branch information
Showing
1 changed file
with
8 additions
and
32 deletions.
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