зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1077652 - tabbrowser should ignore DOMTitleChanged events from browser that have no tab assigned r=dao
This commit is contained in:
Родитель
e24b098f02
Коммит
f75c147d95
|
@ -3465,7 +3465,7 @@
|
|||
return;
|
||||
|
||||
var tab = this._getTabForContentWindow(contentWin);
|
||||
if (tab.hasAttribute("pending"))
|
||||
if (!tab || tab.hasAttribute("pending"))
|
||||
return;
|
||||
|
||||
var titleChanged = this.setTabTitle(tab);
|
||||
|
|
Загрузка…
Ссылка в новой задаче