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
parent 1031ee6288
commit d9e8626ca1

View File

@ -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();
}
finishTest();
});
}
document.addEventListener("DOMNodeRemoved", domNodeRemoved , false);
fm = notificationBox = input = null;
finishTest();
HUDService.deactivateHUDForContext(tab);
}