Bug 633846 - Places tests hit the network from www.mozilla.org bookmark properties, r=sdwilsh, a=test
authorPhil Ringnalda <philringnalda@gmail.com>
Sun, 13 Feb 2011 12:12:00 -0800
changeset 62498 c4fbf8fbc1035f046301ec1f1f8627d90c4a5643
parent 62497 00f2b33bcb6011b50d7e49591489e6f3e0145b92
child 62499 93cd6c60e16b34758a78d7f6b86963ce0cb1b3bb
push id1
push userroot
push dateTue, 10 Dec 2013 15:46:25 +0000
reviewerssdwilsh, test
bugs633846
milestone2.0b12pre
Bug 633846 - Places tests hit the network from www.mozilla.org bookmark properties, r=sdwilsh, a=test
browser/components/places/tests/browser/browser_bookmarksProperties.js
browser/components/places/tests/chrome/test_bug427633_no_newfolder_if_noip.xul
browser/components/places/tests/chrome/test_bug485100-change-case-loses-tag.xul
--- a/browser/components/places/tests/browser/browser_bookmarksProperties.js
+++ b/browser/components/places/tests/browser/browser_bookmarksProperties.js
@@ -60,17 +60,17 @@ const SIDEBAR_HISTORY_BYDATEANDSITE_VIEW
 const ACTION_EDIT = 0;
 const ACTION_ADD = 1;
 
 // If action is ACTION_ADD, set type to one of those, to define what do you
 // want to create.
 const TYPE_FOLDER = 0;
 const TYPE_BOOKMARK = 1;
 
-const TEST_URL = "http://www.mozilla.org/";
+const TEST_URL = "http://www.example.com/";
 
 const DIALOG_URL = "chrome://browser/content/places/bookmarkProperties.xul";
 const DIALOG_URL_MINIMAL_UI = "chrome://browser/content/places/bookmarkProperties2.xul";
 
 var wm = Cc["@mozilla.org/appshell/window-mediator;1"].
          getService(Ci.nsIWindowMediator);
 var win = wm.getMostRecentWindow("navigator:browser");
 var ww = Cc["@mozilla.org/embedcomp/window-watcher;1"].
--- a/browser/components/places/tests/chrome/test_bug427633_no_newfolder_if_noip.xul
+++ b/browser/components/places/tests/chrome/test_bug427633_no_newfolder_if_noip.xul
@@ -84,17 +84,17 @@
       var ios = Cc["@mozilla.org/network/io-service;1"].
                 getService(Ci.nsIIOService);
       function uri(spec) {
         return ios.newURI(spec, null, null);
       }
 
       // Add a bookmark.
       var itemId = bs.insertBookmark(bs.toolbarFolder,
-                                     uri("http://www.mozilla.org/"),
+                                     uri("http://www.example.com/"),
                                      bs.DEFAULT_INDEX,
                                      "mozilla");
 
       // Init panel.
       ok(gEditItemOverlay, "gEditItemOverlay is in context");
       gEditItemOverlay.initPanel(itemId);
       ok(gEditItemOverlay._initialized, "gEditItemOverlay is initialized");
       // We must be sure tree is initialized, so we wait for place to be set.
--- a/browser/components/places/tests/chrome/test_bug485100-change-case-loses-tag.xul
+++ b/browser/components/places/tests/chrome/test_bug485100-change-case-loses-tag.xul
@@ -80,17 +80,17 @@
       var ts = Cc["@mozilla.org/browser/tagging-service;1"].
                getService(Ci.nsITaggingService);
       var ios = Cc["@mozilla.org/network/io-service;1"].
                 getService(Ci.nsIIOService);
       function uri(spec) {
         return ios.newURI(spec, null, null);
       }
 
-      var testURI = uri("http://www.mozilla.org/");
+      var testURI = uri("http://www.example.com/");
       var testTag = "foo";
       var testTagUpper = "Foo";
 
       // Add a bookmark
       var itemId = bs.insertBookmark(bs.toolbarFolder,
                                      testURI,
                                      bs.DEFAULT_INDEX,
                                      "mozilla");