Closed Bug 1610852 Opened 5 years ago Closed 5 years ago

`Cross-Origin-Opener-Policy: same-origin` header doesn't seem to force new BrowsingContext

Categories

(Core :: DOM: Navigation, defect, P3)

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: ochameau, Unassigned)

References

Details

I'm not 100% confident my test page is correct:
http://techno-barje.fr/fission/header/
It just does this in php:

<?php
header("Cross-Origin-Opener-Policy: same-origin");
?>

But I would expect it to force the creation of a new BrowsingContext.

Here is my STR:

  • ensure fission is enabled
  • open mozilla.org
  • open the browser console
  • evaluate gBrowser.selectedBrowser.browsingContext.id to see what is the current BrowsingContext ID.
  • navigate to http://techno-barje.fr/fission/header/
  • re-evaluate gBrowser.selectedBrowser.browsingContext.id and see that the ID did not changed.

Is my test case wrong, or do we have an issue here?

I don't know about the status of COOP implementation. Perhaps nika knows, or knows who knows?
If needed, this should block some COOP meta bug or so.

Flags: needinfo?(nika)
Priority: -- → P3

I don't work on the COOP/COEP stuff anymore, so I'm not up-to-date on what's going on, but this is surprising to me (assuming that the crossOriginOpenerPolicy pref is correctly enabled).

:valentin, can you look into this?

Flags: needinfo?(nika) → needinfo?(valentin.gosu)
Blocks: 1613066
See Also: → 1598131

(In reply to Alexandre Poirot [:ochameau] from comment #0)

I'm not 100% confident my test page is correct:
http://techno-barje.fr/fission/header/
It just does this in php:

<?php
header("Cross-Origin-Opener-Policy: same-origin");
?>
  • navigate to http://techno-barje.fr/fission/header/

COOP headers are only processed for secure contexts (HTTPS).
Please reopen the bug if you find the same happens with HTTPS. Thanks!

Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(valentin.gosu)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.