From 78d6d41c4cb7be9a2f1f7e8c0fe5dac99e709f94 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Thu, 4 Jun 2020 17:29:19 +0200 Subject: [PATCH] mshtml/tests: Improve tests exception handling. Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- dlls/mshtml/tests/winetest.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/mshtml/tests/winetest.js b/dlls/mshtml/tests/winetest.js index 7e8cbfc9b2c..6d99adf12b2 100644 --- a/dlls/mshtml/tests/winetest.js +++ b/dlls/mshtml/tests/winetest.js @@ -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(); } }; }