-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTML: window.open() can set opener of a nested browsing context #15078
Conversation
The Chrome failure here is https://bugs.chromium.org/p/chromium/issues/detail?id=475556. I filed https://bugs.webkit.org/show_bug.cgi?id=193963 on Safari. |
Some initial work to make introducing browsing context groups (see #4198) easier. Fixes #2636 by making opener browsing context more generally applicable and making window.open() set it. Fixes #2645 by removing creator browsing context and explicitly passing in the creator document. Tests: web-platform-tests/wpt#15078.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These tests both seem reasonable, although I don't understand the relationship between them.
They're both named targeting, but one of them ends up setting opener and the other doesn't. This was one of the changes with browsing context refactoring, that |
Some initial work to make introducing browsing context groups (see whatwg#4198) easier. Fixes whatwg#2636 by making opener browsing context more generally applicable and making window.open() set it. Fixes whatwg#2645 by removing creator browsing context and explicitly passing in the creator document. Tests: web-platform-tests/wpt#15078.
Some initial work to make introducing browsing context groups (see whatwg#4198) easier. Fixes whatwg#2636 by making opener browsing context more generally applicable and making window.open() set it. Fixes whatwg#2645 by removing creator browsing context and explicitly passing in the creator document. Tests: web-platform-tests/wpt#15078.
Needed for whatwg/html#4284.