Commit c5d75c3a authored by Zhenbo Li's avatar Zhenbo Li Committed by Alexandre Julliard

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

parent fa675868
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment