Actually enable the debugging code for bug 960760
authorEhsan Akhgari <ehsan@mozilla.com>
Sat, 01 Mar 2014 10:53:07 -0500
changeset 171722 cef723d9aa314ffc52f27cd9d5595878cfe740d6
parent 171721 4aefac76b1b9ab2d6a299f67ac9f8a58ca87195c
child 171723 65f75ee1c34f1864b734c679b2e0ab529475f44d
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
bugs960760
milestone30.0a1
Actually enable the 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
@@ -2,27 +2,29 @@
 <head>
 <title>localStorage enable preference test</title>
 
 <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
 
 <script type="text/javascript">
 
+SimpleTest.requestCompleteLog();
+
 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);
+      info("The exception which was thrown is: " + ex);
     }
   }
   ok(exceptionThrew, "Exception "+exc+" threw");
 }
 
 var storage;
 function test1() {
   is(typeof(window.localStorage), "object", "Storage is present");