mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 764540 - browser_tabfocus.js is racy, r=dao
This commit is contained in:
parent
487a503fce
commit
2a1ef5e19b
@ -26,7 +26,10 @@ function test() {
|
||||
|
||||
browser1.removeEventListener("load", check, true);
|
||||
browser2.removeEventListener("load", check, true);
|
||||
executeSoon(_run_focus_tests);
|
||||
}
|
||||
|
||||
function _run_focus_tests() {
|
||||
window.focus();
|
||||
|
||||
_browser_tabfocus_test_lastfocus = gURLBar;
|
||||
|
Loading…
Reference in New Issue
Block a user