From ed58dd2e28e6d3d681552fffecbf14e3da85451e Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Fri, 17 Jan 2014 11:44:34 -0500 Subject: [PATCH] Debugging code for bug 960760 --- .../mochitest/localstorage/test_localStorageEnablePref.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dom/tests/mochitest/localstorage/test_localStorageEnablePref.html b/dom/tests/mochitest/localstorage/test_localStorageEnablePref.html index 6c40ca0dc1b..b6d26068f12 100644 --- a/dom/tests/mochitest/localstorage/test_localStorageEnablePref.html +++ b/dom/tests/mochitest/localstorage/test_localStorageEnablePref.html @@ -16,6 +16,9 @@ function checkException(func, exc) 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"); }