зеркало из https://github.com/mozilla/gecko-dev.git
Debugging code for bug 960760
This commit is contained in:
Родитель
54e0cda57b
Коммит
a3d9ac24e5
|
@ -16,6 +16,9 @@ function checkException(func, exc)
|
||||||
catch (ex) {
|
catch (ex) {
|
||||||
exceptionThrew = true;
|
exceptionThrew = true;
|
||||||
is(ex.name, exc, "Expected "+exc+" exception");
|
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");
|
ok(exceptionThrew, "Exception "+exc+" threw");
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче