mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-14 05:44:20 +00:00
Backout 17b390f86130 (bug 823325) for failures in test_bug590573.html
This commit is contained in:
parent
aa62aecf12
commit
063cb6cecf
@ -2808,13 +2808,8 @@ Tab.prototype = {
|
||||
|
||||
if (aActive) {
|
||||
this.browser.setAttribute("type", "content-primary");
|
||||
this.browser.focus();
|
||||
this.browser.docShellIsActive = true;
|
||||
|
||||
// setTimeout() is needed to make sure the browser is visible before it
|
||||
// is focused (see bug 823325).
|
||||
setTimeout(function () {
|
||||
this.browser.focus();
|
||||
}.bind(this), 0);
|
||||
} else {
|
||||
this.browser.setAttribute("type", "content-targetable");
|
||||
this.browser.docShellIsActive = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user