Closed Bug 1720295 Opened 3 years ago Closed 3 years ago

Add console message for disallowing relaxing default referrer policy

Categories

(Core :: Privacy: Anti-Tracking, task)

task

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: timhuang, Assigned: timhuang)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

We will send a console message to inform developers that relaxing the default referrer policy is disallowed if the pref 'network.http.referer.disallowRelexingDefault' is on. Otherwise, a console message which says disallowing is going to happen will be sent.

This patch adds console message for disallowing relaxing default
referrer policy. The console message will only be reported if less
restricted policy has been set for cross-site requests. And it will use
different messages according to whether the restriction is enabled or
not.

Assignee: nobody → tihuang
Status: NEW → ASSIGNED
Pushed by tihuang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6eba7ae99894
Part 1: Report console message for disallow relaxing default referrer policy. r=ckerschb
https://hg.mozilla.org/integration/autoland/rev/0f323b67aa6b
Part 2: Add tests for console message of disallowing relaxing default policy. r=ckerschb
Regressions: 1724797
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: