Bug 728997 - test_tabmatches.js should not use 'about:robots' which is Firefox specific. r=mak
authorMark Capella <markcapella@twcny.rr.com>
Sat, 25 Feb 2012 20:38:26 -0500
changeset 87749 44241c8e5132cc15a261a5a02f70f78b05ff9f0f
parent 87748 75c291e1c27ea96ed0401e2e960b6ea8c059904c
child 87750 940194c616f271d65a01818ebe4fdf3e61dc6766
push id22143
push userphilringnalda@gmail.com
push dateSun, 26 Feb 2012 23:12:35 +0000
treeherdermozilla-central@b98fc24ac54b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmak
bugs728997
milestone13.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 728997 - test_tabmatches.js should not use 'about:robots' which is Firefox specific. r=mak
toolkit/components/places/tests/autocomplete/test_tabmatches.js
--- a/toolkit/components/places/tests/autocomplete/test_tabmatches.js
+++ b/toolkit/components/places/tests/autocomplete/test_tabmatches.js
@@ -40,26 +40,26 @@ let gTabRestrictChar = prefs.getCharPref
 
 let kSearchParam = "enable-actions";
 
 let kURIs = [
   "http://abc.com/",
   "moz-action:switchtab,http://abc.com/",
   "http://xyz.net/",
   "moz-action:switchtab,http://xyz.net/",
-  "about:robots",
-  "moz-action:switchtab,about:robots",
+  "about:mozilla",
+  "moz-action:switchtab,about:mozilla",
   "data:text/html,test",
   "moz-action:switchtab,data:text/html,test"
 ];
 
 let kTitles = [
   "ABC rocks",
   "xyz.net - we're better than ABC",
-  "about:robots",
+  "about:mozilla",
   "data:text/html,test"
 ];
 
 addPageBook(0, 0);
 gPages[1] = [1, 0];
 addPageBook(2, 1);
 gPages[3] = [3, 1];
 
@@ -93,19 +93,19 @@ let gTests = [
      removeOpenPages(2, 6);
    }],
   ["5: tab match search with restriction character",
    gTabRestrictChar + " abc", [1],
    function() {
     addOpenPages(0, 1);
    }],
   ["6: tab match with not-addable pages",
-   "robots", [5]],
+   "mozilla", [5]],
   ["7: tab match with not-addable pages and restriction character",
-   gTabRestrictChar + " robots", [5]],
+   gTabRestrictChar + " mozilla", [5]],
   ["8: tab match with not-addable pages and only restriction character",
    gTabRestrictChar, [1, 5, 7]],
 ];
 
 
 function addOpenPages(aUri, aCount) {
   let num = aCount || 1;
   let acprovider = Cc["@mozilla.org/autocomplete/search;1?name=history"].