Commit afbd598a authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

ieframe/tests: Avoid crash on missing IID_IWebBrowser2 interface.

parent 1d7e48a5
......@@ -260,10 +260,14 @@ static void test_InternetExplorer(void)
if(hres != S_OK)
return;
advise_cp(unk, TRUE);
hres = IUnknown_QueryInterface(unk, &IID_IWebBrowser2, (void**)&wb);
ok(hres == S_OK, "Could not get IWebBrowser2 interface: %08x\n", hres);
if (hres != S_OK) {
IUnknown_Release(unk);
return;
}
advise_cp(unk, TRUE);
test_visible(wb);
test_html_window(wb);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment