зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1525458 - Part 3: Work around bug 1529728 by disabling tracking annotations in flash blocking classifier tests; r=baku
Depends on D20875 Differential Revision: https://phabricator.services.mozilla.com/D20876 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
ce044ffb6b
Коммит
2a3626c89e
|
@ -14,6 +14,7 @@ var classifierTester = {
|
|||
ASK_TO_ACTIVATE_PREF_VALUE: 1,
|
||||
ALWAYS_ACTIVATE_PREF_VALUE: 2,
|
||||
ALLOW_CTA_PREF: "plugins.click_to_play",
|
||||
TRACKING_ANNOTATIONS_PREF: "privacy.trackingprotection.annotate_channels",
|
||||
|
||||
dbUrls: [
|
||||
{
|
||||
|
@ -67,6 +68,8 @@ var classifierTester = {
|
|||
Services.prefs.setIntPref(classifierTester.FLASH_PLUGIN_USER_SETTING_PREF,
|
||||
flashSetting);
|
||||
Services.prefs.setBoolPref(classifierTester.ALLOW_CTA_PREF, true);
|
||||
// Work around bug 1529728
|
||||
Services.prefs.setBoolPref(classifierTester.TRACKING_ANNOTATIONS_PREF, false);
|
||||
},
|
||||
|
||||
unsetPrefs() {
|
||||
|
@ -78,6 +81,7 @@ var classifierTester = {
|
|||
Services.prefs.clearUserPref(classifierTester.FLASHBLOCK_ENABLE_PREF);
|
||||
Services.prefs.clearUserPref(classifierTester.FLASH_PLUGIN_USER_SETTING_PREF);
|
||||
Services.prefs.clearUserPref(classifierTester.ALLOW_CTA_PREF);
|
||||
Services.prefs.clearUserPref(classifierTester.TRACKING_ANNOTATIONS_PREF);
|
||||
},
|
||||
|
||||
// The |domains| property describes the domains of the nested documents making
|
||||
|
|
Загрузка…
Ссылка в новой задаче