Debugging code for bug 960760
authorEhsan Akhgari <ehsan@mozilla.com>
Fri, 17 Jan 2014 11:44:34 -0500
changeset 163979 4804658f1be45e5bdf759b25e6d0970a1444ffdb
parent 163978 899e651efa23c289c73b1eee5d8c7080d4f171ba
child 163980 7eb615c086e89f50885b4dbca4b3c7367a9d5ff5
push id38604
push usereakhgari@mozilla.com
push dateFri, 17 Jan 2014 16:44:41 +0000
treeherdermozilla-inbound@4804658f1be4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs960760
milestone29.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
Debugging code for bug 960760
dom/tests/mochitest/localstorage/test_localStorageEnablePref.html
--- a/dom/tests/mochitest/localstorage/test_localStorageEnablePref.html
+++ b/dom/tests/mochitest/localstorage/test_localStorageEnablePref.html
@@ -11,16 +11,19 @@ function checkException(func, exc)
 {
   var exceptionThrew = false;
   try {
     func();
   }
   catch (ex) {
     exceptionThrew = true;
     is(ex.name, exc, "Expected "+exc+" exception");
+    if (ex.name != exc) {
+      ok(true, "The exception which was thrown is: " + ex);
+    }
   }
   ok(exceptionThrew, "Exception "+exc+" threw");
 }
 
 var storage;
 function test1() {
   is(typeof(window.localStorage), "object", "Storage is present");
   storage = window.localStorage;