зеркало из https://github.com/mozilla/gecko-dev.git
tests cleanup
This commit is contained in:
Родитель
e3337c3051
Коммит
c0ec1eed4e
|
@ -226,10 +226,7 @@ function windowObserver(aSubject, aTopic, aData) {
|
|||
gLibrary = aSubject.QueryInterface(Ci.nsIDOMWindow);
|
||||
gLibrary.addEventListener("load", function onLoad(event) {
|
||||
gLibrary.removeEventListener("load", onLoad, false);
|
||||
executeSoon(function () {
|
||||
// Execute tests.
|
||||
nextTest();
|
||||
});
|
||||
executeSoon(nextTest);
|
||||
}, false);
|
||||
}
|
||||
|
||||
|
|
|
@ -183,10 +183,7 @@ function windowObserver(aSubject, aTopic, aData) {
|
|||
gLibrary = aSubject.QueryInterface(Ci.nsIDOMWindow);
|
||||
gLibrary.addEventListener("load", function onLoad(event) {
|
||||
gLibrary.removeEventListener("load", onLoad, false);
|
||||
executeSoon(function () {
|
||||
// Execute tests.
|
||||
nextTest();
|
||||
});
|
||||
executeSoon(nextTest);
|
||||
}, false);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче