Convert the prefs in ReferrerInfo.cpp to static prefs
Categories
(Core :: Preferences: Backend, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: KrisWright, Assigned: KrisWright)
References
Details
Attachments
(8 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
There are 11 prefs in ReferrerInfo.cpp that need to be converted to static prefs. Three of these prefs need to leverage the "do_not_use_directly" field and a getter, since their original mirror variables are clamped.
Assignee | ||
Comment 1•6 years ago
|
||
Converts network.http.referer.spoofSource to a static pref and removes the varcache instance and mirror variable.
Assignee | ||
Comment 2•6 years ago
|
||
Converts network.http.referer.hideOnionSource to a static pref and removes its mirror variable and varcache pref definition.
Assignee | ||
Comment 3•6 years ago
|
||
Converts network.http.sendRefererHeader to a static pref. The original mirror variable was clamped between 0 and 2, so the pref has been updated with DoNotUseDirectly and a getter.
Assignee | ||
Comment 4•6 years ago
|
||
Converts network.http.referer.referrerLengthLimit to a static pref and replaces its mirror variable.
Assignee | ||
Comment 5•6 years ago
|
||
Converts network.http.referer.XOriginPolicy to a static pref and leverages 'do_not_use_directly' and a getter in order to clamp the value.
Assignee | ||
Comment 6•6 years ago
|
||
Converts network.http.referer.trimmingPolicy and leverages do_not_use_directly with a getter to clamp the value.
Assignee | ||
Comment 7•6 years ago
|
||
Converts network.http.referer.XOriginTrimmingPolicy to a static pref. Leverages do_not_use_directly and a getter to clamp the pref value.
Assignee | ||
Comment 8•6 years ago
|
||
Converts network.http.referer.defaultPolicy, network.http.referer.defaultPolicy.trackers, network.http.referer.defaultPolicy.pbmode, and network.http.referer.defaultPolicy.trackers.pbmode to static prefs and updates the uses of their old mirror values.
Comment 10•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2efb727423dd
https://hg.mozilla.org/mozilla-central/rev/0c488c215ac2
https://hg.mozilla.org/mozilla-central/rev/b0aea55adfc3
https://hg.mozilla.org/mozilla-central/rev/05a6a47f9540
https://hg.mozilla.org/mozilla-central/rev/cfc175e24f4e
https://hg.mozilla.org/mozilla-central/rev/e8fc2920b08c
https://hg.mozilla.org/mozilla-central/rev/079eaf8c45e5
https://hg.mozilla.org/mozilla-central/rev/869a61c656cd
Updated•6 years ago
|
Description
•