Make the simple leaktest run first and give it ample time to make sure GC from previous tests does not cause debugger tests to fail (bug 774619); r=vporof

--HG--
rename : browser/devtools/debugger/test/browser_dbg_leaktest.js => browser/devtools/debugger/test/browser_dbg_aaa_run_first_leaktest.js
This commit is contained in:
Panos Astithas 2012-12-13 15:47:36 +02:00
parent d26384da18
commit e9e5116397
2 changed files with 5 additions and 1 deletions

View File

@ -11,7 +11,7 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
MOCHITEST_BROWSER_TESTS = \
browser_dbg_leaktest.js \
browser_dbg_aaa_run_first_leaktest.js \
browser_dbg_createChrome.js \
$(browser_dbg_debugger-tab-switch.js disabled until issues 106, 40 are fixed) \
$(browser_dbg_debugger-tab-switch-window.js disabled until issues 106, 40 are fixed) \

View File

@ -20,6 +20,10 @@ function test()
let resumed = false;
let testStarted = false;
// Wait longer for this very simple test that comes first, to make sure that
// GC from previous tests does not interfere with the debugger suite.
requestLongerTimeout(2);
debug_tab_pane(TAB_URL, function(aTab, aDebuggee, aPane) {
gTab = aTab;
gDebuggee = aDebuggee;