From d6ab48a2aae6fd2053fb5b2023710a9ab49aceda Mon Sep 17 00:00:00 2001 From: Shawn Wilsher Date: Thu, 30 Jul 2009 08:48:48 -0700 Subject: [PATCH] Disable these two randomly crashing tests until bug 506042 is fixed and we can get stacks from the crashes. --- .../places/tests/unit/test_browserGlue_corrupt_nobackup.js | 7 ++++++- .../unit/test_browserGlue_corrupt_nobackup_default.js | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/browser/components/places/tests/unit/test_browserGlue_corrupt_nobackup.js b/browser/components/places/tests/unit/test_browserGlue_corrupt_nobackup.js index 084ea5ba8f43..27a93b5085e7 100644 --- a/browser/components/places/tests/unit/test_browserGlue_corrupt_nobackup.js +++ b/browser/components/places/tests/unit/test_browserGlue_corrupt_nobackup.js @@ -67,9 +67,14 @@ var observer = { } } }; -os.addObserver(observer, NS_PLACES_INIT_COMPLETE_TOPIC, false); function run_test() { + // XXX bug 507199 + // This test is temporarily disabled! + return; + + os.addObserver(observer, NS_PLACES_INIT_COMPLETE_TOPIC, false); + // Create bookmarks.html in the profile. create_bookmarks_html("bookmarks.glue.html"); // Remove JSON backup from profile. diff --git a/browser/components/places/tests/unit/test_browserGlue_corrupt_nobackup_default.js b/browser/components/places/tests/unit/test_browserGlue_corrupt_nobackup_default.js index a8f0b5efad68..c08482dc3d19 100644 --- a/browser/components/places/tests/unit/test_browserGlue_corrupt_nobackup_default.js +++ b/browser/components/places/tests/unit/test_browserGlue_corrupt_nobackup_default.js @@ -67,9 +67,14 @@ var observer = { } } }; -os.addObserver(observer, NS_PLACES_INIT_COMPLETE_TOPIC, false); function run_test() { + // XXX bug 507199 + // This test is temporarily disabled! + return; + + os.addObserver(observer, NS_PLACES_INIT_COMPLETE_TOPIC, false); + // Remove bookmarks.html from profile. remove_bookmarks_html(); // Remove JSON backup from profile.