Closed
Bug 1617889
Opened 5 years ago
Closed 5 years ago
Fix COOP comparison
Categories
(Core :: Networking: HTTP, defect, P2)
Core
Networking: HTTP
Tracking
()
RESOLVED
FIXED
mozilla76
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: valentin, Assigned: valentin)
References
Details
(Whiteboard: [necko-triaged])
Attachments
(5 files)
This is wrong, as it excludes same-origin-allow-popups
if ((documentPolicy & nsILoadInfo::OPENER_POLICY_SAME_ORIGIN) &&
documentOrigin->Equals(resultOrigin)) {
Assignee | ||
Comment 1•5 years ago
|
||
See the To match cross-origin opener-policies
section at https://gist.github.com/annevk/6f2dd8c79c77123f39797f6bdac43f3e
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Depends on D64081
Assignee | ||
Comment 4•5 years ago
|
||
Depends on D64083
Assignee | ||
Comment 5•5 years ago
|
||
If current's top-level browsing context's active document's cross-origin
opener-policy is "same-origin" or "same-origin + COEP", then:
- Let currentDoc be current's active document.
- If currentDoc's origin is not same origin with currentDoc's top-level
origin, then set noopener to true.
Depends on D65524
Pushed by valentin.gosu@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/29444a6692c2
Remove unneeded expectation files r=michal
https://hg.mozilla.org/integration/autoland/rev/9842e5475b0b
Fix COOP comparison check r=michal
https://hg.mozilla.org/integration/autoland/rev/1b6ef44fd48d
Fix CrossOriginOpenerPolicy inheritance from a cross origin iframe r=nika
https://hg.mozilla.org/integration/autoland/rev/91cb5f31a5e2
COOP: Open new windows as "noopener" when origins don't match r=nika
Assignee | ||
Comment 7•5 years ago
|
||
Pushed by rmaries@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/921af6c42e05
Update expected fail on linux64 QuantumRender debug. CLOSED TREE
Comment 9•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/29444a6692c2
https://hg.mozilla.org/mozilla-central/rev/9842e5475b0b
https://hg.mozilla.org/mozilla-central/rev/1b6ef44fd48d
https://hg.mozilla.org/mozilla-central/rev/91cb5f31a5e2
https://hg.mozilla.org/mozilla-central/rev/921af6c42e05
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox76:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in
before you can comment on or make changes to this bug.
Description
•