Bug 599573 - Only allow one about window to check for / download / etc. updates. r=gavin a=blocking-final
authorMargaret Leibovic <margaret.leibovic@gmail.com>
Fri, 05 Nov 2010 14:03:42 -0700
changeset 56971 85619a58a99e4b77d452126c206c67c2be5beb3d
parent 56970 726e585dd529185122fa09053b880738e1c89379
child 56972 5ade2f7309221a21e0f10aab1c865419e168e3d7
push id16741
push usermargaret.leibovic@gmail.com
push dateFri, 05 Nov 2010 21:25:12 +0000
treeherdermozilla-central@c609be50b0b2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgavin, blocking-final
bugs599573
milestone2.0b8pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 599573 - Only allow one about window to check for / download / etc. updates. r=gavin a=blocking-final
browser/base/content/utilityOverlay.js
--- a/browser/base/content/utilityOverlay.js
+++ b/browser/base/content/utilityOverlay.js
@@ -407,19 +407,18 @@ function isBidiEnabled() {
   } catch (e) {}
 
   return rv;
 }
 
 function openAboutDialog() {
   var enumerator = Services.wm.getEnumerator("Browser:About");
   while (enumerator.hasMoreElements()) {
+    // Only open one about window (Bug 599573)
     let win = enumerator.getNext();
-    if (win.opener != window)
-      continue;
     win.focus();
     return;
   }
 
 #ifdef XP_MACOSX
   var features = "chrome,resizable=no,minimizable=no";
 #else
   var features = "chrome,centerscreen,dependent";