Bug 603610 - fix broken browser_webconsole_bug_588342_document_focus.js

This commit is contained in:
Mihai Sucan 2010-10-17 20:23:17 +02:00
Родитель ac4aee4e8c
Коммит aa432dde73
1 изменённых файлов: 3 добавлений и 5 удалений

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

@ -8,7 +8,7 @@
*
* ***** END LICENSE BLOCK ***** */
const TEST_URI = "http://example.com/browser/toolkit/components/console/hudservice/tests/browser/test-console.html";
const TEST_URI = "data:text/html,Web Console test for bug 588342";
let fm, notificationBox, input;
function test()
@ -60,13 +60,11 @@ function runTest() {
is(fm.focusedWindow, browser.contentWindow.wrappedJSObject,
"content document has focus");
input = notificationBox = fm = null;
}
finishTest();
}
});
}
document.addEventListener("DOMNodeRemoved", domNodeRemoved , false);
fm = notificationBox = input = null;
finishTest();
HUDService.deactivateHUDForContext(tab);
}