Debugging code for bug 960760

This commit is contained in:
Ehsan Akhgari 2014-01-17 11:44:34 -05:00
parent 54e0cda57b
commit a3d9ac24e5

View File

@ -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");
}