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:
@@ -2901,11 +2901,6 @@ SessionStoreService.prototype = {
|
|||||||
ScratchpadManager.restoreSession(aState.scratchpads);
|
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
|
// set smoothScroll back to the original value
|
||||||
tabstrip.smoothScroll = smoothScroll;
|
tabstrip.smoothScroll = smoothScroll;
|
||||||
|
|
||||||
|
|||||||
@@ -459,7 +459,7 @@ class ShutdownLeakLogger(object):
|
|||||||
DOM windows (that are still around after test suite shutdown, despite running
|
DOM windows (that are still around after test suite shutdown, despite running
|
||||||
the GC) to the tests that created them and prints leak statistics.
|
the GC) to the tests that created them and prints leak statistics.
|
||||||
"""
|
"""
|
||||||
MAX_LEAK_COUNT = 23
|
MAX_LEAK_COUNT = 21
|
||||||
|
|
||||||
def __init__(self, logger):
|
def __init__(self, logger):
|
||||||
self.logger = logger
|
self.logger = logger
|
||||||
|
|||||||
Reference in New Issue
Block a user