mshtml: Added IHTMLWindow::get_clientInformation implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
43bd40bdec
commit
11a6bfc673
|
@ -1349,8 +1349,10 @@ static HRESULT WINAPI HTMLWindow2_scroll(IHTMLWindow2 *iface, LONG x, LONG y)
|
|||
static HRESULT WINAPI HTMLWindow2_get_clientInformation(IHTMLWindow2 *iface, IOmNavigator **p)
|
||||
{
|
||||
HTMLWindow *This = impl_from_IHTMLWindow2(iface);
|
||||
FIXME("(%p)->(%p)\n", This, p);
|
||||
return E_NOTIMPL;
|
||||
|
||||
TRACE("(%p)->(%p)\n", This, p);
|
||||
|
||||
return IHTMLWindow2_get_navigator(&This->IHTMLWindow2_iface, p);
|
||||
}
|
||||
|
||||
static HRESULT WINAPI HTMLWindow2_setInterval(IHTMLWindow2 *iface, BSTR expression,
|
||||
|
|
|
@ -5965,10 +5965,15 @@ static void test_navigator(IHTMLDocument2 *doc)
|
|||
|
||||
hres = IHTMLWindow2_get_navigator(window, &navigator2);
|
||||
ok(hres == S_OK, "get_navigator failed: %08x\n", hres);
|
||||
ok(navigator != navigator2, "navigator2 != navihgator\n");
|
||||
ok(navigator != navigator2, "navigator2 != navigator\n");
|
||||
IOmNavigator_Release(navigator2);
|
||||
|
||||
hres = IHTMLWindow2_get_clientInformation(window, &navigator2);
|
||||
ok(hres == S_OK, "get_clientInformation failed: %08x\n", hres);
|
||||
todo_wine ok(iface_cmp((IUnknown*)navigator, (IUnknown*)navigator2), "navigator2 != navigator\n");
|
||||
IOmNavigator_Release(navigator2);
|
||||
|
||||
IHTMLWindow2_Release(window);
|
||||
IOmNavigator_Release(navigator2);
|
||||
|
||||
hres = IOmNavigator_get_appCodeName(navigator, &bstr);
|
||||
ok(hres == S_OK, "get_appCodeName failed: %08x\n", hres);
|
||||
|
|
Loading…
Reference in New Issue