Correct SeaMonkey bustage fix for a1faf051bbc9 (bug 398776)
authorGavin Sharp <gavin@gavinsharp.com>
Wed, 23 Jun 2010 04:07:48 -0400
changeset 44174 30e7132bba2850a8e4eb9adb085cff7d2ec0a3e9
parent 44173 9b0576208fa2ae6de7e7d368b420c9b32aa6034d
child 44175 075fe10df9c3ec6ac6752912502ad72a7ee52043
push id14010
push usergsharp@mozilla.com
push dateWed, 23 Jun 2010 08:08:18 +0000
treeherdermozilla-central@30e7132bba28 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs398776
milestone1.9.3a6pre
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
Correct SeaMonkey bustage fix for a1faf051bbc9 (bug 398776)
dom/tests/mochitest/geolocation/geolocation_common.js
--- a/dom/tests/mochitest/geolocation/geolocation_common.js
+++ b/dom/tests/mochitest/geolocation/geolocation_common.js
@@ -68,17 +68,17 @@ function getChromeWindow()
       .getInterface(Ci.nsIDOMWindow)
       .QueryInterface(Ci.nsIDOMChromeWindow);
   return chromeWin;
 }
 
 function getNotificationBox()
 {
   var chromeWin = getChromeWindow();
-  var notifyBox = chromeWin.getNotificationBox(chromeWin);
+  var notifyBox = chromeWin.getNotificationBox(window.top);
 
   return notifyBox;
 }
 
 function clickNotificationButton(aButtonIndex) {
   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
 
   // First, check for new-style Firefox notifications