Service Worker fetch removes document.referrer
Categories
(Core :: DOM: Service Workers, defect, P3)
Tracking
()
People
(Reporter: reinout, Unassigned)
References
Details
Attachments
(1 file)
1.17 KB,
application/zip
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36
Steps to reproduce:
Requesting an iframe through a service worker fetch results in that iframe not having a document.referrer:
Setup:
index.html contains a service worker whose fetch handler just fetches the request.
index.html iframes /frame.html
frame.html prints document.referrer
Attached is a zipfile with this setup.
Actual results:
document.referrer is empty.
The actual network request does contain a referrer header.
Expected results:
document.referrer should be set to <host>/index.html
Comment 1•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Updated•4 years ago
|
Comment 2•4 years ago
|
||
Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3
(Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3
(normal.)
Description
•