mshtml/tests: Better output when an exception is caught.
This commit is contained in:
parent
fa67586811
commit
c5d75c3ae1
|
@ -55,7 +55,7 @@ try {
|
|||
testPutSrc();
|
||||
testPutText();
|
||||
}catch(e) {
|
||||
ok(false, "Got an exception");
|
||||
ok(false, "Got an exception " + e.message);
|
||||
}
|
||||
|
||||
function testPutSrc2() {
|
||||
|
@ -123,7 +123,7 @@ document.body.onload = function() {
|
|||
testPutSrc2();
|
||||
testPutText2();
|
||||
}catch(e) {
|
||||
ok(false, "got an exception");
|
||||
ok(false, "got an exception " + e.message);
|
||||
}
|
||||
|
||||
external.reportSuccess();
|
||||
|
|
|
@ -248,7 +248,7 @@ function runTest() {
|
|||
try {
|
||||
runTests();
|
||||
}catch(e) {
|
||||
ok(false, "got exception");
|
||||
ok(false, "got exception " + e.message);
|
||||
}
|
||||
|
||||
external.reportSuccess();
|
||||
|
|
|
@ -24,7 +24,7 @@ try {
|
|||
counter++;
|
||||
incCounter(2);
|
||||
}catch(e) {
|
||||
ok(false, "got an exception");
|
||||
ok(false, "got an exception " + e.message);
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
|
|
Loading…
Reference in New Issue