mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
Bug 540248 - "Race condition when updating the window title during tab preview" r=dao
This commit is contained in:
parent
d72cb1bea1
commit
abbccce110
@ -939,12 +939,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Don't switch the fast find - this tab switch is temporary
|
||||
if (!this._previewMode)
|
||||
// Don't switch the fast find or update the titlebar (bug 540248) - this tab switch is temporary
|
||||
if (!this._previewMode) {
|
||||
this._fastFind.setDocShell(this.mCurrentBrowser.docShell);
|
||||
|
||||
// Update the window title.
|
||||
this.updateTitlebar();
|
||||
this.updateTitlebar();
|
||||
}
|
||||
|
||||
// If the new tab is busy, and our current state is not busy, then
|
||||
// we need to fire a start to all progress listeners.
|
||||
|
Loading…
Reference in New Issue
Block a user