Alistair Leslie-Hughes : mshtml: Fix test for Windows 7 with IE9.
Alexandre Julliard
julliard at winehq.org
Thu Sep 22 13:39:49 CDT 2011
Module: wine
Branch: master
Commit: 05e18862cb5ae825697695a6ac9b6d4772a9a863
URL: http://source.winehq.org/git/wine.git/?a=commit;h=05e18862cb5ae825697695a6ac9b6d4772a9a863
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Thu Sep 22 20:09:59 2011 +1000
mshtml: Fix test for Windows 7 with IE9.
---
dlls/mshtml/tests/dom.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/mshtml/tests/dom.c b/dlls/mshtml/tests/dom.c
index 4a2a7ac..45b3a80 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);
More information about the wine-cvs
mailing list