Fix bustage from bug 802026
authorGavin Sharp <gavin@gavinsharp.com>
Sat, 15 Dec 2012 15:17:49 -0800
changeset 125267 84896936f0d4a9e742f5e404fc405c0347867070
parent 125266 d685cc4b4741aa795af1b5dfc9d898a28b4b4bfc
child 125268 c22a2faf56d6c4455ce425e50cd623ff2bd5c93d
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs802026
milestone20.0a1
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
Fix bustage from bug 802026
browser/base/content/test/browser_URLBarSetURI.js
--- a/browser/base/content/test/browser_URLBarSetURI.js
+++ b/browser/base/content/test/browser_URLBarSetURI.js
@@ -32,17 +32,17 @@ let tests = [
     loadTabInWindow(window, function (tab) {
       gURLBar.handleRevert();
       is(gURLBar.value, "example.com", "URL bar had user/pass stripped after reverting");
       gBrowser.removeTab(tab);
       next();
     });
   },
   function customize(next) {
-    whenNewWindowLoaded(null, function (win) {
+    whenNewWindowLoaded(undefined, function (win) {
       // Need to wait for delayedStartup for the customization part of the test,
       // since that's where BrowserToolboxCustomizeDone is set.
       whenDelayedStartupFinished(win, function () {
         loadTabInWindow(win, function () {
           openToolbarCustomizationUI(function () {
             closeToolbarCustomizationUI(function () {
               is(win.gURLBar.value, "example.com", "URL bar had user/pass stripped after customize");
               win.close();