Debugging code for bug 960760

This commit is contained in:
Ehsan Akhgari 2014-01-17 11:44:34 -05:00
parent 06d9cc505a
commit ed58dd2e28

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