mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
shdocvw: Return correct error from WebBrowser::Quit.
This commit is contained in:
parent
a8a1a2da5a
commit
e37ca6f927
@ -1147,6 +1147,11 @@ static void test_ie_funcs(IUnknown *unk)
|
||||
hres = IWebBrowser2_get_Application(wb, NULL);
|
||||
ok(hres == E_POINTER, "get_Application failed: %08x, expected E_POINTER\n", hres);
|
||||
|
||||
/* Quit */
|
||||
|
||||
hres = IWebBrowser2_Quit(wb);
|
||||
ok(hres == E_FAIL, "Quit failed: %08x, expected E_FAIL\n", hres);
|
||||
|
||||
IWebBrowser2_Release(wb);
|
||||
}
|
||||
|
||||
|
@ -457,8 +457,11 @@ static HRESULT WINAPI WebBrowser_get_Busy(IWebBrowser2 *iface, VARIANT_BOOL *pBo
|
||||
static HRESULT WINAPI WebBrowser_Quit(IWebBrowser2 *iface)
|
||||
{
|
||||
WebBrowser *This = WEBBROWSER_THIS(iface);
|
||||
FIXME("(%p)\n", This);
|
||||
return E_NOTIMPL;
|
||||
|
||||
TRACE("(%p)\n", This);
|
||||
|
||||
/* It's a InternetExplorer specific method, we have nothing to do here. */
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WebBrowser_ClientToWindow(IWebBrowser2 *iface, int *pcx, int *pcy)
|
||||
|
Loading…
Reference in New Issue
Block a user