James Hawkins : mshtml: Fix a test that fails in Vista.

Alexandre Julliard julliard at winehq.org
Wed Sep 3 07:43:33 CDT 2008


Module: wine
Branch: master
Commit: d62b33f2290fa652ecfe4a873ae6f7be4173d66a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d62b33f2290fa652ecfe4a873ae6f7be4173d66a

Author: James Hawkins <jhawkins at codeweavers.com>
Date:   Tue Sep  2 01:04:21 2008 -0500

mshtml: Fix a test that fails in Vista.

---

 dlls/mshtml/tests/dom.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/mshtml/tests/dom.c b/dlls/mshtml/tests/dom.c
index d442800..b658a74 100644
--- a/dlls/mshtml/tests/dom.c
+++ b/dlls/mshtml/tests/dom.c
@@ -2728,7 +2728,9 @@ static void run_domtest(const char *str, domtest_t test)
     }
 
     ref = IHTMLDocument2_Release(doc);
-    ok(!ref, "ref = %d\n", ref);
+    ok(!ref ||
+       ref == 1, /* Vista */
+       "ref = %d\n", ref);
 }
 
 static void gecko_installer_workaround(BOOL disable)




More information about the wine-cvs mailing list