Bug 182480 - window.opener binding is incorrect
Summary: window.opener binding is incorrect
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: http://w3c-test.org/html/browsers/win...
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-05 05:05 PST by Anne van Kesteren
Modified: 2022-07-30 13:22 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anne van Kesteren 2018-02-05 05:05:07 PST
See https://github.com/w3c/web-platform-tests/pull/9390 for tests.
Comment 1 Chris Dumez 2018-02-05 11:55:38 PST
Looks like we're failing all the checks at:
http://w3c-test.org/html/browsers/windows/auxiliary-browsing-contexts/opener-setter.window.html
Comment 2 Chris Dumez 2018-02-05 12:03:00 PST
The tests seem to expect window.opener to no longer be replaceable. This seems like risky behavior change and I am not sure we want to do this. I had aligned WebKit with the spec via Bug 181505 already (to fix issues with Gmail).
Comment 3 Anne van Kesteren 2018-02-16 08:10:03 PST
Chris, I assume per https://github.com/whatwg/html/pull/3448#issuecomment-363208579 you now agree with this bug, right?
Comment 4 Chris Dumez 2018-02-16 08:43:28 PST
(In reply to Anne van Kesteren from comment #3)
> Chris, I assume per
> https://github.com/whatwg/html/pull/3448#issuecomment-363208579 you now
> agree with this bug, right?

I think so although I haven't had time to investigate why it is failing.
Comment 5 Ahmad Saleem 2022-07-30 07:45:53 PDT
Safari 15.6 on macOS 12.5 pass all 7 test cases from attached test case URL:

http://w3c-test.org/html/browsers/windows/auxiliary-browsing-contexts/opener-setter.window.html

It matches with all other browsers (Chrome Canary 106 and Firefox Nightly 105). Is something else needed here? Thanks!
Comment 6 Ryosuke Niwa 2022-07-30 13:22:50 PDT
Looks like config changed to me.