Adjust COOP redirect handling
Categories
(Core :: DOM: Navigation, enhancement)
Tracking
()
People
(Reporter: annevk, Unassigned, NeedInfo)
References
(Blocks 1 open bug)
Details
See html/cross-origin-opener-policy/popup-redirect-same-origin-allow-popups.https.html in WPT and https://github.com/whatwg/html/pull/5739.
See the discussion in https://github.com/camillelamy/explainers/issues/12 for context.
Valentin, is this something you can take on?
Updated•3 years ago
|
Comment 2•1 year ago
|
||
I think this is still a problem
https://wpt.fyi/results/html/cross-origin-opener-policy/popup-redirect-same-origin-allow-popups.https.html?label=experimental&label=master&aligned
It's been a while since I worked on this. Looking at the code when computing the COOP mismatch for a redirect this code exits at the end, with no mismatch.
I'm not sure if at this point currentWindowGlobal->IsInitialDocument() should still return true, or if there is a bug in this code.
Maybe Eden knows?
Description
•