mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 603610 - fix broken browser_webconsole_bug_588342_document_focus.js
This commit is contained in:
parent
1031ee6288
commit
d9e8626ca1
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user