Sec-Fetch-User header is missing when opening a link in a new window
Categories
(Core :: DOM: Security, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox103 | --- | fixed |
People
(Reporter: github, Assigned: tschuster)
References
(Depends on 1 open bug)
Details
(Whiteboard: [domsecurity-active])
Attachments
(3 files, 1 obsolete file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
Steps to reproduce:
- Open https://lab.xpaw.me/headers.php
- Right click on 'random link' and 'open link in new window'
Also missing when opening in new private window.
Actual results:
"HTTP_SEC_FETCH_USER ?1" header is not sent.
Expected results:
Sec-Fetch-User should be sent as it is a user navigation. It works in Chrome. It works when opening in a new tab.
Comment 1•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Networking' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 2•4 years ago
|
||
Christoph, can some from your team take a look at this?
Comment 3•4 years ago
|
||
(In reply to Dragana Damjanovic [:dragana] from comment #2)
Christoph, can some from your team take a look at this?
Niklas, can you take a look?
Updated•4 years ago
|
Updated•4 years ago
|
Comment 4•4 years ago
|
||
Confirming: opening in a new TAB is fine, but it's missing in a new WINDOW (private or not). It's also missing if you open a link in a new Container tab (requires installing the Multi-Account Containers web extension to enable).
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 7•3 years ago
|
||
ni? Christoph to figure out priority of Niklas's bugs
Comment 8•3 years ago
|
||
(In reply to Daniel Veditz [:dveditz] from comment #7)
ni? Christoph to figure out priority of Niklas's bugs
Tom, is this something you feel comfortable fixing? Would be nice to have.
Comment 9•3 years ago
|
||
Sure, but not immediately.
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
| Assignee | ||
Comment 10•3 years ago
|
||
| Assignee | ||
Comment 11•3 years ago
|
||
There are probably more places that we want to annotate with hasValidTransientUserGestureActivation = true, for
example openUILink. This is more of a POC.
Depends on D147514
Updated•3 years ago
|
Comment 12•3 years ago
|
||
Comment 13•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/50101abad25f
https://hg.mozilla.org/mozilla-central/rev/c8109d217385
https://hg.mozilla.org/mozilla-central/rev/0fcc34c4614e
Description
•