Bug 1186323 - Increase the timeout of browser_perf-theme-toggle-01.js
authorEhsan Akhgari <ehsan@mozilla.com>
Mon, 17 Aug 2015 11:47:41 -0400
changeset 258047 1b61da1529722e661ff5de3c10e58a919df00b66
parent 258046 36895151defddf076a922b514312336d38f84900
child 258048 78747fd20d8d6f3167af880084a4f9e77254857e
push idunknown
push userunknown
push dateunknown
bugs1186323
milestone43.0a1
Bug 1186323 - Increase the timeout of browser_perf-theme-toggle-01.js
browser/devtools/performance/test/browser_perf-theme-toggle-01.js
--- a/browser/devtools/performance/test/browser_perf-theme-toggle-01.js
+++ b/browser/devtools/performance/test/browser_perf-theme-toggle-01.js
@@ -9,16 +9,18 @@
 const { setTheme } = require("devtools/shared/theme");
 
 const LIGHT_BG = "#fcfcfc";
 const DARK_BG = "#14171a";
 
 setTheme("dark");
 Services.prefs.setBoolPref(MEMORY_PREF, false);
 
+requestLongerTimeout(2);
+
 function* spawnTest() {
   let { panel } = yield initPerformance(SIMPLE_URL);
   let { EVENTS, $, OverviewView, document: doc } = panel.panelWin;
 
   yield startRecording(panel);
   let markers = OverviewView.graphs.get("timeline");
   is(markers.backgroundColor, DARK_BG,
     "correct theme on load for markers.");