From 05e18862cb5ae825697695a6ac9b6d4772a9a863 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Thu, 22 Sep 2011 20:09:59 +1000 Subject: [PATCH] mshtml: Fix test for Windows 7 with IE9. --- dlls/mshtml/tests/dom.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/mshtml/tests/dom.c b/dlls/mshtml/tests/dom.c index 4a2a7acb06b..45b3a801a27 100644 --- a/dlls/mshtml/tests/dom.c +++ b/dlls/mshtml/tests/dom.c @@ -4459,7 +4459,8 @@ static void test_window(IHTMLDocument2 *doc) str = NULL; hres = IHTMLWindow2_toString(window, &str); ok(hres == S_OK, "toString failed: %08x\n", hres); - ok(!strcmp_wa(str, "[object]"), "toString returned %s\n", wine_dbgstr_w(str)); + ok(!strcmp_wa(str, "[object]") || + !strcmp_wa(str, "[object Window]") /* win7 ie9 */, "toString returned %s\n", wine_dbgstr_w(str)); SysFreeString(str); test_window_name(window, NULL); -- 2.11.4.GIT