Bug 1448531 - Part 7: Request longer timeout for browser/base/content/test/general/browser_newTabDrop.js. r=bustage
authorTooru Fujisawa <arai_a@mac.com>
Tue, 10 Apr 2018 14:12:28 +0900
changeset 779722 73a3eabd2bd29d2ef8945648615f49ed29b326c9
parent 779721 41039837009cec7d13229d5e3a3d0b1a2dc77f8a
child 779723 a8061a09cd7064a8783ca9e67979d77fb52e001e
child 779776 db2973e7667c86f991162206506e64fdcd2d18d4
push id105836
push userbmo:ato@sny.no
push dateTue, 10 Apr 2018 12:07:22 +0000
reviewersbustage
bugs1448531
milestone61.0a1
Bug 1448531 - Part 7: Request longer timeout for browser/base/content/test/general/browser_newTabDrop.js. r=bustage
browser/base/content/test/general/browser_newTabDrop.js
--- a/browser/base/content/test/general/browser_newTabDrop.js
+++ b/browser/base/content/test/general/browser_newTabDrop.js
@@ -6,16 +6,19 @@ registerCleanupFunction(async function c
   }
   Services.search.currentEngine = originalEngine;
   let engine = Services.search.getEngineByName("MozSearch");
   Services.search.removeEngine(engine);
 });
 
 let originalEngine;
 add_task(async function test_setup() {
+  // This test opens multiple tabs and some confirm dialogs, that takes long.
+  requestLongerTimeout(2);
+
   // Stop search-engine loads from hitting the network
   Services.search.addEngineWithDetails("MozSearch", "", "", "", "GET",
                                        "http://example.com/?q={searchTerms}");
   let engine = Services.search.getEngineByName("MozSearch");
   originalEngine = Services.search.currentEngine;
   Services.search.currentEngine = engine;
 });