Bug 975552 - Let the leak detector know about the preloaded customization tab r=bustage

This commit is contained in:
Tim Taubert 2014-02-28 20:55:37 +01:00
parent 0a00121a1c
commit 8c3f3d431b

View File

@ -17,6 +17,9 @@ XPCOMUtils.defineLazyModuleGetter(this, "Services",
XPCOMUtils.defineLazyModuleGetter(this, "BrowserNewTabPreloader",
"resource:///modules/BrowserNewTabPreloader.jsm", "BrowserNewTabPreloader");
XPCOMUtils.defineLazyModuleGetter(this, "CustomizationTabPreloader",
"resource:///modules/CustomizationTabPreloader.jsm", "CustomizationTabPreloader");
window.addEventListener("load", testOnLoad, false);
function testOnLoad() {
@ -426,6 +429,7 @@ Tester.prototype = {
BackgroundPageThumbs._destroy();
BrowserNewTabPreloader.uninit();
CustomizationTabPreloader.uninit();
SocialFlyout.unload();
SocialShare.uninit();
TabView.uninit();