Bug 718536 - browser_select_compatoverrides.js leaks selectAddons.xul. r=bmcbride
authorDão Gottwald <dao@mozilla.com>
Tue, 17 Jan 2012 12:50:48 +0100
changeset 85893 b3435ec4db1d4c1d8beef39b590230d995b1936c
parent 85892 762fa6f964a9f3ea192a7e6525d45f6c0b2984f9
child 85894 b41beba4c7bb78da9a7d1529ff81b778a03f8ded
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbmcbride
bugs718536
milestone12.0a1
Bug 718536 - browser_select_compatoverrides.js leaks selectAddons.xul. r=bmcbride
toolkit/mozapps/extensions/test/browser/browser_select_compatoverrides.js
--- a/toolkit/mozapps/extensions/test/browser/browser_select_compatoverrides.js
+++ b/toolkit/mozapps/extensions/test/browser/browser_select_compatoverrides.js
@@ -4,16 +4,17 @@
 
 // Tests that compatibility overrides are refreshed when showing the addon
 // selection UI.
 
 const PREF_GETADDONS_BYIDS            = "extensions.getAddons.get.url";
 const PREF_MIN_PLATFORM_COMPAT        = "extensions.minCompatiblePlatformVersion";
 
 var gTestAddon = null;
+var gWin;
 
 function waitForView(aView, aCallback) {
   var view = gWin.document.getElementById(aView);
   if (view.parentNode.selectedPanel == view) {
     aCallback();
     return;
   }