зеркало из https://github.com/mozilla/pjs.git
Backed out changeset 6b6e9a3c0606 (debugging code for bug 538462)
This commit is contained in:
Родитель
26fd590e32
Коммит
2aa9eda554
|
@ -86,9 +86,6 @@ let windowObserver = {
|
|||
observe: function(aSubject, aTopic, aData) {
|
||||
let win = aSubject.QueryInterface(Ci.nsIDOMEventTarget);
|
||||
|
||||
// Temporary code for debugging bug 538462
|
||||
ok(true, "windowObserver.observe got " + aTopic + " notification for " + win.location);
|
||||
|
||||
if (aTopic == "domwindowclosed") {
|
||||
if (win.location == UCT_URI)
|
||||
loadNextTest();
|
||||
|
@ -97,12 +94,10 @@ let windowObserver = {
|
|||
|
||||
// domwindowopened
|
||||
win.addEventListener("load", function onLoad(event) {
|
||||
ok(true, "got load event for " + win.location);
|
||||
win.removeEventListener("load", onLoad, false);
|
||||
|
||||
// Let the dialog initialize
|
||||
SimpleTest.executeSoon(function() {
|
||||
ok(true, "running checkWindow on " + win.location);
|
||||
checkWindow(win);
|
||||
});
|
||||
}, false);
|
||||
|
|
Загрузка…
Ссылка в новой задаче