mshtml: Fixed tests on old IEs.

This commit is contained in:
Jacek Caban 2012-10-16 17:10:29 +02:00 committed by Alexandre Julliard
parent bfd25b4f50
commit 282b2608c4
1 changed files with 4 additions and 0 deletions

View File

@ -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);