mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 08:45:46 +00:00
Bug 1575477 - Fix use of unknown property browser_trackingUI_categories.js. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D42808 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
2772860a85
commit
1804529943
@ -218,7 +218,10 @@ add_task(async function testCategorySections() {
|
||||
await waitForClass(itemToTest, "notFound", false);
|
||||
await waitForClass(itemToTest, "blocked", true);
|
||||
if (enabledPref == TPC_PREF) {
|
||||
Services.prefs.setIntPref(TPC_PREF, Ci.nsICookieService.BEHAVIOR_ALLOW);
|
||||
Services.prefs.setIntPref(
|
||||
TPC_PREF,
|
||||
Ci.nsICookieService.BEHAVIOR_ACCEPT
|
||||
);
|
||||
} else {
|
||||
Services.prefs.setBoolPref(enabledPref, false);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user