Bug 764540 - browser_tabfocus.js is racy, r=dao

This commit is contained in:
Olli Pettay 2012-06-14 20:59:19 +03:00
parent 487a503fce
commit 2a1ef5e19b

View File

@ -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;