From d62b33f2290fa652ecfe4a873ae6f7be4173d66a Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Tue, 2 Sep 2008 01:04:21 -0500 Subject: [PATCH] mshtml: Fix a test that fails in Vista. --- dlls/mshtml/tests/dom.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/mshtml/tests/dom.c b/dlls/mshtml/tests/dom.c index d4428002c94..b658a74eb96 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)