Jacek Caban : mshtml: Fixed tests on some broken Vista versions.

Alexandre Julliard julliard at winehq.org
Tue Feb 19 13:33:03 CST 2013


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Tue Feb 19 11:30:32 2013 +0100

mshtml: Fixed tests on some broken Vista versions.

---

 dlls/mshtml/tests/activex.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/mshtml/tests/activex.c b/dlls/mshtml/tests/activex.c
index ce9b711..fab2c92 100644
--- a/dlls/mshtml/tests/activex.c
+++ b/dlls/mshtml/tests/activex.c
@@ -2348,7 +2348,7 @@ static void release_doc(IHTMLDocument2 *doc)
 
     set_client_site(doc, FALSE);
     ref = IHTMLDocument2_Release(doc);
-    ok(!ref, "ref = %d\n", ref);
+    ok(!ref || broken(ref == 1) /* Vista */, "ref = %d\n", ref);
 
     if(client_site) {
         IOleClientSite_Release(client_site);




More information about the wine-cvs mailing list