Closed Bug 1275803 Opened 8 years ago Closed 8 years ago

Determine token's referrer policy

Categories

(Core :: DOM: Security, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1223838

People

(Reporter: tnguyen, Unassigned)

Details

(Whiteboard: [domsecurity-backlog])

Determining policy from token [1] is not updated with new specs [2].
Should change and check all the usages of [1] in codebase
[1] https://dxr.mozilla.org/mozilla-central/source/netwerk/base/ReferrerPolicy.h#54
[2] https://w3c.github.io/webappsec-referrer-policy/#determine-policy-for-token
Summary: Determine referrer policy from token → Determine token's referrer policy
Specs:
- If token is empty, return "no-referrer".
- Others: Return the empty string.
Current implement:
- Others: return No_Referrer
Also, empty string should be treated as valid referrer token
Whiteboard: [domsecurity-backlog]
Bug 1223838 contains the updated mechanism. Close this one as duplication
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.