Bug 707321 - Intermittent browser_581593.js | an unexpected uncaught JS exception reported through window.onerror - Script error. at :0 [r=dietrich]
authorPaul O’Shannessy <paul@oshannessy.com>
Fri, 06 Jan 2012 16:41:15 -0800
changeset 85208 4b4802dc4a5b5fc7184b167073242db3370f0665
parent 85207 7ce8729ba2c72b24ea59db136ce001839504a626
child 85209 9a1a4157bf4900391f3062cd07d97148ab9c5c4b
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdietrich
bugs707321
milestone12.0a1
Bug 707321 - Intermittent browser_581593.js | an unexpected uncaught JS exception reported through window.onerror - Script error. at :0 [r=dietrich] This ignores the "attempt to run compile-and-go script on a cleared scope" exceptions.
browser/components/sessionstore/test/browser_581593.js
--- a/browser/components/sessionstore/test/browser_581593.js
+++ b/browser/components/sessionstore/test/browser_581593.js
@@ -35,16 +35,17 @@
  *
  * ***** END LICENSE BLOCK ***** */
 
 let stateBackup = ss.getBrowserState();
 
 function test() {
   /** Test for bug 581593 **/
   waitForExplicitFinish();
+  ignoreAllUncaughtExceptions();
 
   let oldState = { windows: [{ tabs: [{ entries: [{ url: "example.com" }] }] }]};
   let pageData = {
     url: "about:sessionrestore",
     formdata: { "#sessionData": "(" + JSON.stringify(oldState) + ")" }
   };
   let state = { windows: [{ tabs: [{ entries: [pageData] }] }] };