Module: wine Branch: master Commit: 05e18862cb5ae825697695a6ac9b6d4772a9a863 URL: http://source.winehq.org/git/wine.git/?a=commit;h=05e18862cb5ae825697695a6ac...
Author: Alistair Leslie-Hughes leslie_alistair@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);