Trial fix for bug 986760: focus the test runner window and also request a longer timeout

This commit is contained in:
Ehsan Akhgari 2014-03-29 21:32:20 -04:00
parent 277c40e502
commit 758721b070
2 changed files with 6 additions and 2 deletions

View File

@ -9,6 +9,8 @@ let gContentWindow;
Components.utils.import("resource:///modules/UITour.jsm");
requestLongerTimeout(2);
function test() {
UITourTest();
}

View File

@ -165,8 +165,10 @@ function UITourTest() {
}
let test = tests.shift();
info("Starting " + test.name);
loadUITourTestPage(function() {
test(done);
waitForFocus(function() {
loadUITourTestPage(function() {
test(done);
});
});
}
nextTest();