mshtml/tests: Better output when an exception is caught.

This commit is contained in:
Zhenbo Li 2014-08-07 08:30:21 +08:00 committed by Alexandre Julliard
parent fa67586811
commit c5d75c3ae1
3 changed files with 4 additions and 4 deletions

View File

@ -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();

View File

@ -248,7 +248,7 @@ function runTest() {
try {
runTests();
}catch(e) {
ok(false, "got exception");
ok(false, "got exception " + e.message);
}
external.reportSuccess();

View File

@ -24,7 +24,7 @@ try {
counter++;
incCounter(2);
}catch(e) {
ok(false, "got an exception");
ok(false, "got an exception " + e.message);
}
</script>
<script>