diff options
author | Moonchild <moonchild@palemoon.org> | 2021-10-07 21:38:26 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-04-01 14:41:51 +0200 |
commit | c030a50228349fa1b2c0b4fbc2e83752324dd4d7 (patch) | |
tree | 7102015febc58021d3e6af6ac40b3299e437f1d2 /dom/base/nsContentUtils.cpp | |
parent | e4c6db86b806a9b7b11b94323189954736d45a67 (diff) | |
download | uxp-c030a50228349fa1b2c0b4fbc2e83752324dd4d7.tar.gz |
Issue #1721 - Implement GlobalPrivacyControl
(and get rid of failed DoNotTrack)
Diffstat (limited to 'dom/base/nsContentUtils.cpp')
-rw-r--r-- | dom/base/nsContentUtils.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dom/base/nsContentUtils.cpp b/dom/base/nsContentUtils.cpp index fdffd95531..e88e31bd9d 100644 --- a/dom/base/nsContentUtils.cpp +++ b/dom/base/nsContentUtils.cpp @@ -306,7 +306,7 @@ bool nsContentUtils::sFragmentParsingActive = false; bool nsContentUtils::sDOMWindowDumpEnabled; #endif -bool nsContentUtils::sDoNotTrackEnabled = false; +bool nsContentUtils::sGPCEnabled = false; mozilla::LazyLogModule nsContentUtils::sDOMDumpLog("Dump"); @@ -623,8 +623,8 @@ nsContentUtils::Init() "browser.dom.window.dump.enabled"); #endif - Preferences::AddBoolVarCache(&sDoNotTrackEnabled, - "privacy.donottrackheader.enabled", false); + Preferences::AddBoolVarCache(&sGPCEnabled, + "privacy.GPCheader.enabled", false); Preferences::AddBoolVarCache(&sUseActivityCursor, "ui.use_activity_cursor", false); @@ -7122,9 +7122,9 @@ nsContentUtils::DOMWindowDumpEnabled() } bool -nsContentUtils::DoNotTrackEnabled() +nsContentUtils::GPCEnabled() { - return nsContentUtils::sDoNotTrackEnabled; + return nsContentUtils::sGPCEnabled; } mozilla::LogModule* |