Bug 470710 - [MacOSX] Fix reftests and mochitests 1,112 bytes leak caused by hiddenWindow.xul. r=Neil.
authorstefanh@inbox.com
Fri, 24 Apr 2009 18:18:19 +0200
changeset 2470 9ed376b9f6fdf3cccbe6159dae5bda9f3d9e1c54
parent 2469 0c2f5641c953aba8714e0cb3f73a93a22fb6e9ab
child 2471 f846e80650a241cce09726e5144bb2c6ab21555e
push idunknown
push userunknown
push dateunknown
reviewersNeil
bugs470710
Bug 470710 - [MacOSX] Fix reftests and mochitests 1,112 bytes leak caused by hiddenWindow.xul. r=Neil.
suite/browser/hiddenWindow.xul
--- a/suite/browser/hiddenWindow.xul
+++ b/suite/browser/hiddenWindow.xul
@@ -59,17 +59,18 @@
 %navigatorDTD;
 ]>
 
 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   title="hidden"
   titlemodifier="&mainWindow.titlemodifier;" 
   titlemenuseparator="&mainWindow.titlemodifiermenuseparator;"
-  onload="hiddenWindowStartup();">
+  onload="hiddenWindowStartup();"
+  onunload="Shutdown();">
 
   <!-- JS from navigator.xul, to handle the menu commands -->
   <script type="application/x-javascript" src="chrome://navigator/content/browser.js"/>
   <script type="application/x-javascript" src="chrome://navigator/content/navigator.js"/>
 
   <!-- Shared Bookmarks Utility Library -->
   <script type="application/x-javascript" src="chrome://communicator/content/bookmarks/bookmarks.js"/>
   <script type="application/x-javascript" src="chrome://communicator/content/bookmarks/bookmarksMenu.js"/>