Bug 557406 - Intermittent failure in test_bookmarks.js. Disable till we implement a fix.
authorMarco Bonardo <mbonardo@mozilla.com>
Thu, 15 Apr 2010 00:14:15 +0200
changeset 40769 a085a040a6bdf7a8331bdbdd18e2ba1837ad97ef
parent 40768 b45e2fd7ce4a82e6aa9fd7689be281ca5a526902
child 40770 e3d9d2edb15911d0601eb1b9a7479b54a930b90e
push id12809
push usermak77@bonardo.net
push dateWed, 14 Apr 2010 22:15:09 +0000
treeherdermozilla-central@67bb5933e2c1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs557406
milestone1.9.3a5pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
Bug 557406 - Intermittent failure in test_bookmarks.js. Disable till we implement a fix.
toolkit/components/places/tests/bookmarks/test_bookmarks.js
--- a/toolkit/components/places/tests/bookmarks/test_bookmarks.js
+++ b/toolkit/components/places/tests/bookmarks/test_bookmarks.js
@@ -100,26 +100,30 @@ var observer = {
   QueryInterface: function(iid) {
     if (iid.equals(Ci.nsINavBookmarkObserver) ||
         iid.equals(Ci.nsISupports)) {
       return this;
     }
     throw Cr.NS_ERROR_NO_INTERFACE;
   },
 };
-bmsvc.addObserver(observer, false);
 
 // get bookmarks menu folder id
 var root = bmsvc.bookmarksMenuFolder;
 
 // index at which items should begin
 var bmStartIndex = 0;
 
 // main
 function run_test() {
+  // TODO: reenable test once bug 557406 is fixed.
+  return;
+
+  bmsvc.addObserver(observer, false);
+
   // test special folders
   do_check_true(bmsvc.placesRoot > 0);
   do_check_true(bmsvc.bookmarksMenuFolder > 0);
   do_check_true(bmsvc.tagsFolder > 0);
   do_check_true(bmsvc.toolbarFolder > 0);
   do_check_true(bmsvc.unfiledBookmarksFolder > 0);
 
   // test getFolderIdForItem() with bogus item id will throw