Fix the orange from bug 485773 caused by a typo in the test
authorEhsan Akhgari <ehsan.akhgari@gmail.com>
Thu, 16 Apr 2009 02:50:32 +0330
changeset 24749 98b68ac484cc7d972871346705f0ea4fdb3f98ac
parent 24748 96939938ef7a9030d56ccbaf352207a6c9bc6a9e
child 24750 810f5fb0b1c751742f257493165bd94776acff48
child 24754 260553f0cd2f7e6f6ae844553900162cfce26dac
push id1210
push userehsan.akhgari@gmail.com
push dateWed, 15 Apr 2009 22:20:52 +0000
bugs485773
milestone1.9.1b4pre
Fix the orange from bug 485773 caused by a typo in the test
browser/components/places/tests/browser/browser_forgetthissite_single.js
--- a/browser/components/places/tests/browser/browser_forgetthissite_single.js
+++ b/browser/components/places/tests/browser/browser_forgetthissite_single.js
@@ -44,17 +44,17 @@ function test() {
            getService(Ci.nsIWindowWatcher);
   waitForExplicitFinish();
 
   // Add a history entry.
   let TEST_URIs = ["http://www.mozilla.org/test1", "http://www.mozilla.org/test2"];
   ok(PlacesUtils, "checking PlacesUtils, running in chrome context?");
   let history = PlacesUtils.history;
   TEST_URIs.forEach(function(TEST_URI) {
-    let visidId = history.addVisit(PlacesUtils._uri(TEST_URI), Date.now() * 1000,
+    let visitId = history.addVisit(PlacesUtils._uri(TEST_URI), Date.now() * 1000,
                                    null, PlacesUtils.history.TRANSITION_TYPED, false, 0);
     ok(visitId > 0, TEST_URI + " successfully marked visited");
   });
 
   function testForgetThisSiteVisibility(selectionCount, funcNext) {
     let observer = {
       observe: function(aSubject, aTopic, aData) {
         if (aTopic === "domwindowopened") {