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:
Mark Banner 2019-08-21 09:02:16 +00:00
parent 2772860a85
commit 1804529943

View File

@ -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);
}