Jacek Caban : mshtml: Fixed tests on old IEs.

Alexandre Julliard julliard at winehq.org
Tue Oct 16 15:27:47 CDT 2012


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Tue Oct 16 17:10:29 2012 +0200

mshtml: Fixed tests on old IEs.

---

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

diff --git a/dlls/mshtml/tests/script.c b/dlls/mshtml/tests/script.c
index ddf3613..2f8b8ec 100644
--- a/dlls/mshtml/tests/script.c
+++ b/dlls/mshtml/tests/script.c
@@ -2091,6 +2091,10 @@ static void test_ui(void)
     HRESULT hres;
 
     hres = IActiveScriptSite_QueryInterface(site, &IID_IActiveScriptSiteUIControl, (void**)&ui_control);
+    if(hres == E_NOINTERFACE) {
+        win_skip("IActiveScriptSiteUIControl not supported\n");
+        return;
+    }
     ok(hres == S_OK, "Could not get IActiveScriptSiteUIControl: %08x\n", hres);
 
     hres = IActiveScriptSiteUIControl_GetUIBehavior(ui_control, SCRIPTUICITEM_MSGBOX, &uic_handling);




More information about the wine-cvs mailing list