From 282b2608c4352928377e9d461e410b5900e08f34 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Tue, 16 Oct 2012 17:10:29 +0200 Subject: [PATCH] mshtml: Fixed tests on old IEs. --- dlls/mshtml/tests/script.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/mshtml/tests/script.c b/dlls/mshtml/tests/script.c index ddf361368dd..2f8b8ec5907 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);