Bug 540248 - "Race condition when updating the window title during tab preview" r=dao

This commit is contained in:
Rob Arnold 2010-01-17 10:48:00 -05:00
parent d72cb1bea1
commit abbccce110

View File

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