Commit 78d6d41c authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml/tests: Improve tests exception handling.

parent 3e9d32ca
......@@ -23,10 +23,11 @@ function guard(f) {
}catch(e) {
var msg = "Got exception ";
if(e && typeof(e) == "object" && "message")
msg += e.msg;
msg += e.message;
else
msg += e;
ok(false, msg);
if("tests" in window) next_test();
}
};
}
......
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