Bug 1486414 follow-up: Increase the test timeout
authorEhsan Akhgari <ehsan@mozilla.com>
Wed, 29 Aug 2018 09:24:13 -0400
changeset 482181 1a5c43f28e0675a36b3322233e16f9f9ad448548
parent 482180 bd6fb6ab62f4c6ae57923c1ae987fb32c1387563
child 482182 b6be51ee00aa8a2a18962d8074e804d5c75186e0
push id232
push userfmarier@mozilla.com
push dateWed, 05 Sep 2018 20:45:54 +0000
bugs1486414
milestone63.0a1
Bug 1486414 follow-up: Increase the test timeout
browser/components/preferences/in-content/tests/browser_contentblocking.js
--- a/browser/components/preferences/in-content/tests/browser_contentblocking.js
+++ b/browser/components/preferences/in-content/tests/browser_contentblocking.js
@@ -6,16 +6,18 @@ const CB_FB_UI_PREF = "browser.contentbl
 const CB_TP_UI_PREF = "browser.contentblocking.trackingprotection.ui.enabled";
 const CB_RT_UI_PREF = "browser.contentblocking.rejecttrackers.ui.enabled";
 const TP_PREF = "privacy.trackingprotection.enabled";
 const TP_PBM_PREF = "privacy.trackingprotection.pbmode.enabled";
 const TP_LIST_PREF = "urlclassifier.trackingTable";
 const FB_PREF = "browser.fastblock.enabled";
 const NCB_PREF = "network.cookie.cookieBehavior";
 
+requestLongerTimeout(2);
+
 // Checks that the content blocking toggle follows and changes the CB pref.
 add_task(async function testContentBlockingToggle() {
   SpecialPowers.pushPrefEnv({set: [
     [CB_UI_PREF, true],
   ]});
 
   await openPreferencesViaOpenPreferencesAPI("privacy", {leaveOpen: true});
   let doc = gBrowser.contentDocument;