зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1362774 - Several dom/workers tests need to wait for the environment to be ready. r=asuth
MozReview-Commit-ID: 4fZeNh635i1 --HG-- extra : rebase_source : b11bb682709e019630f1330117b06a24462f7488
This commit is contained in:
Родитель
bb9ffc8862
Коммит
7632ed1c46
|
@ -27,10 +27,6 @@ function testOnWindow(aIsPrivate, aCallback) {
|
|||
win.removeEventListener("DOMContentLoaded", onInnerLoad, true);
|
||||
SimpleTest.executeSoon(function() { aCallback(win); });
|
||||
}, true);
|
||||
|
||||
if (!aIsPrivate) {
|
||||
BrowserTestUtils.loadURI(win.gBrowser, contentPage);
|
||||
}
|
||||
}, {capture: true, once: true});
|
||||
}
|
||||
|
||||
|
|
|
@ -24,10 +24,6 @@ function testOnWindow(aIsPrivate, aCallback) {
|
|||
win.removeEventListener("DOMContentLoaded", onInnerLoad, true);
|
||||
SimpleTest.executeSoon(function() { aCallback(win); });
|
||||
}, true);
|
||||
|
||||
if (!aIsPrivate) {
|
||||
BrowserTestUtils.loadURI(win.gBrowser, contentPage);
|
||||
}
|
||||
}, {capture: true, once: true});
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче