зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1195981 - When loading about:privatebrowsing, we fail to update the title of the tab intermittently. r=ttaubert
--HG-- extra : commitid : 5O6MZ6EUWtO extra : rebase_source : 47690914f2c427c6764f0a6929b9f1f57c321877
This commit is contained in:
Родитель
7726e7e3d1
Коммит
5ff4f46ae7
|
@ -1843,7 +1843,10 @@
|
|||
|
||||
// If we open a new tab with the newtab URL in the default
|
||||
// userContext, check if there is a preloaded browser ready.
|
||||
if (aURI == BROWSER_NEW_TAB_URL && !aUserContextId) {
|
||||
// Private windows are not included because both the label and the
|
||||
// icon for the tab would be set incorrectly (see bug 1195981).
|
||||
if (aURI == BROWSER_NEW_TAB_URL && !aUserContextId &&
|
||||
!PrivateBrowsingUtils.isWindowPrivate(window)) {
|
||||
b = this._getPreloadedBrowser();
|
||||
usingPreloadedContent = !!b;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче