mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
Debugging code for bug 960760
This commit is contained in:
parent
54e0cda57b
commit
a3d9ac24e5
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user