Bug 182480

Summary: window.opener binding is incorrect
Product: WebKit Reporter: Anne van Kesteren <annevk>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ahmad.saleem792, ap, bfulgham, cdumez, rniwa
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: http://w3c-test.org/html/browsers/windows/auxiliary-browsing-contexts/opener-setter.window.html
See Also: https://bugs.webkit.org/show_bug.cgi?id=181505

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.