зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1801929 - Replace 'Total Cookie Protection' learn more link with support-link. r=pbz,mconley,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D167420
This commit is contained in:
Родитель
c355ac155c
Коммит
7586da80bd
|
@ -1851,9 +1851,6 @@ pref("media.gmp-provider.enabled", true);
|
|||
// Enable Dynamic First-Party Isolation by default.
|
||||
pref("network.cookie.cookieBehavior", 5 /* BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN */);
|
||||
|
||||
// Target URL for the learn more link of the TCP in standard mode section.
|
||||
pref("privacy.restrict3rdpartystorage.preferences.learnMoreURLSuffix", "total-cookie-protection");
|
||||
|
||||
// Enable Dynamic First-Party Isolation in the private browsing mode.
|
||||
pref("network.cookie.cookieBehavior.pbmode", 5 /* BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN */);
|
||||
|
||||
|
|
|
@ -117,7 +117,12 @@
|
|||
</hbox>
|
||||
<description>
|
||||
<html:span class="tail-with-learn-more" data-l10n-id="content-blocking-etp-standard-tcp-rollout-description"></html:span>
|
||||
<label id="tcp-learn-more-link" class="learnMore" data-l10n-id="content-blocking-etp-standard-tcp-rollout-learn-more" is="text-link"/>
|
||||
<html:a is="moz-support-link"
|
||||
id="tcp-learn-more-link"
|
||||
class="learnMore"
|
||||
data-l10n-id="content-blocking-etp-standard-tcp-rollout-learn-more"
|
||||
support-page="total-cookie-protection"
|
||||
/>
|
||||
</description>
|
||||
</vbox>
|
||||
<html:div class="content-blocking-warning info-box-container reload-tabs" hidden="true">
|
||||
|
|
|
@ -285,16 +285,6 @@ function setUpContentBlockingWarnings() {
|
|||
}
|
||||
|
||||
function initTCPStandardSection() {
|
||||
document
|
||||
.getElementById("tcp-learn-more-link")
|
||||
.setAttribute(
|
||||
"href",
|
||||
Services.urlFormatter.formatURLPref("app.support.baseURL") +
|
||||
Services.prefs.getStringPref(
|
||||
"privacy.restrict3rdpartystorage.preferences.learnMoreURLSuffix"
|
||||
)
|
||||
);
|
||||
|
||||
let cookieBehaviorPref = Preferences.get("network.cookie.cookieBehavior");
|
||||
let updateTCPSectionVisibilityState = () => {
|
||||
document.getElementById("etpStandardTCPBox").hidden =
|
||||
|
|
|
@ -14,9 +14,7 @@ const CAT_PREF = "browser.contentblocking.category";
|
|||
|
||||
const LEARN_MORE_URL =
|
||||
Services.urlFormatter.formatURLPref("app.support.baseURL") +
|
||||
Services.prefs.getStringPref(
|
||||
"privacy.restrict3rdpartystorage.preferences.learnMoreURLSuffix"
|
||||
);
|
||||
"total-cookie-protection";
|
||||
|
||||
const {
|
||||
BEHAVIOR_REJECT_TRACKER,
|
||||
|
|
Загрузка…
Ссылка в новой задаче