Bug 806725 - Fix a typo in the patch that landed. r=jdm
authorBellindira Castillo [:bellindira] <bellindira@appcoast.com>
Tue, 18 Dec 2012 17:08:15 -0600
changeset 125676 3e9f8f3605bbc4b068f54460486cbe14eed41301
parent 125675 0fca3f2c263b8144bc5d74eb113157f68648510c
child 125677 87ad27a8a7de8da408901f3772a2e1b0d1bc2d77
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)
reviewersjdm
bugs806725
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
Bug 806725 - Fix a typo in the patch that landed. r=jdm
dom/tests/mochitest/localstorage/test_localStorageBasePrivateBrowsing_perwindowpb.html
--- a/dom/tests/mochitest/localstorage/test_localStorageBasePrivateBrowsing_perwindowpb.html
+++ b/dom/tests/mochitest/localstorage/test_localStorageBasePrivateBrowsing_perwindowpb.html
@@ -29,22 +29,21 @@ function startTest() {
 
 var contentPage = "http://mochi.test:8888/chrome/dom/tests/mochitest/localstorage/page_blank.html";
 
 function testOnWindow(aIsPrivate, aCallback) {
   var win = mainWindow.OpenBrowserWindow({private: aIsPrivate});
   win.addEventListener("load", function onLoad() {
     win.removeEventListener("load", onLoad, false);
     win.addEventListener("DOMContentLoaded", function onInnerLoad() {
-      // I am at my wits' end figuring out how to stop this load from occurring. I give up.
       if (win.content.location.href == "about:privatebrowsing") {
         win.gBrowser.loadURI(contentPage);
         return;
       }
-      win.removeEventListener("DOMConten/tLoaded", onInnerLoad, true);
+      win.removeEventListener("DOMContentLoaded", onInnerLoad, true);
       SimpleTest.executeSoon(function() { aCallback(win); });
     }, true);
     win.gBrowser.loadURI(contentPage);
   }, true);
 }
 
 function doTest() {
   testOnWindow(false, function(aWin) {