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:
Zibi Braniecki 2017-09-13 01:27:17 -07:00
Родитель bb9ffc8862
Коммит 7632ed1c46
2 изменённых файлов: 0 добавлений и 8 удалений

Просмотреть файл

@ -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});
}