зеркало из https://github.com/mozilla/gecko-dev.git
Bustage backout to avoid browser_privatebrowsing_windowtitle.js failure.
This commit is contained in:
Коммит
ca56f83bea
|
@ -440,6 +440,14 @@ var UIManager = {
|
|||
tab.tabItem.setZoomPrep(false);
|
||||
self.showTabView();
|
||||
}
|
||||
// ToDo: When running unit tests, everything happens so quick so
|
||||
// new tabs might be added after a tab is closing. Therefore, this
|
||||
// hack is used. We should look for a better solution.
|
||||
setTimeout(function() { // Marshal event from chrome thread to DOM thread
|
||||
if ((groupItem && groupItem._children.length > 0) ||
|
||||
(groupItem == null && gBrowser.visibleTabs.length > 0))
|
||||
self.hideTabView();
|
||||
}, 1);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче