Bug 789003 - ignoreAllUncaughtExceptions() in browser_586068-cascaded_restore.js, since we certainly do
authorPhil Ringnalda <philringnalda@gmail.com>
Sun, 23 Sep 2012 15:50:29 -0700
changeset 107969 c671314ef40854e2597207abf60f806ddaa801b5
parent 107968 0a2f1680ac8e90dc7a04abf0de08497e5864903d
child 107970 b2867d82dcad79b97b33b141e091338bc105fa50
child 107976 b29d0e8668c316b29942cb1c864acf6489caf208
push id82
push usershu@rfrn.org
push dateFri, 05 Oct 2012 13:20:22 +0000
bugs789003
milestone18.0a1
Bug 789003 - ignoreAllUncaughtExceptions() in browser_586068-cascaded_restore.js, since we certainly do
browser/components/sessionstore/test/browser_586068-cascaded_restore.js
--- a/browser/components/sessionstore/test/browser_586068-cascaded_restore.js
+++ b/browser/components/sessionstore/test/browser_586068-cascaded_restore.js
@@ -5,16 +5,18 @@
 let stateBackup = ss.getBrowserState();
 
 const TAB_STATE_NEEDS_RESTORE = 1;
 const TAB_STATE_RESTORING = 2;
 
 function test() {
   /** Test for Bug 586068 - Cascade page loads when restoring **/
   waitForExplicitFinish();
+  // Too many uncaught exceptions, see bug 789003.
+  ignoreAllUncaughtExceptions();
   // This test does a lot of window opening / closing and waiting for loads.
   // In order to prevent timeouts, we'll extend the default that mochitest uses.
   requestLongerTimeout(4);
   runNextTest();
 }
 
 // test_reloadCascade, test_reloadReload are generated tests that are run out
 // of cycle (since they depend on current state). They're listed in [tests] here