зеркало из https://github.com/mozilla/gecko-dev.git
Bug 751334 - Redundant TabView.init call in restoreWindow leaks the browser window when the window closes before delayedStartup was called. r=ttaubert
This commit is contained in:
Родитель
98b93e7b16
Коммит
cfc8954d0b
|
@ -2901,11 +2901,6 @@ SessionStoreService.prototype = {
|
|||
ScratchpadManager.restoreSession(aState.scratchpads);
|
||||
}
|
||||
|
||||
// This will force the keypress listener that Panorama has to attach if it
|
||||
// isn't already. This will be the case if tab view wasn't entered or there
|
||||
// were only visible tabs when TabView.init was first called.
|
||||
aWindow.TabView.init();
|
||||
|
||||
// set smoothScroll back to the original value
|
||||
tabstrip.smoothScroll = smoothScroll;
|
||||
|
||||
|
|
|
@ -459,7 +459,7 @@ class ShutdownLeakLogger(object):
|
|||
DOM windows (that are still around after test suite shutdown, despite running
|
||||
the GC) to the tests that created them and prints leak statistics.
|
||||
"""
|
||||
MAX_LEAK_COUNT = 23
|
||||
MAX_LEAK_COUNT = 21
|
||||
|
||||
def __init__(self, logger):
|
||||
self.logger = logger
|
||||
|
|
Загрузка…
Ссылка в новой задаче