mshtml: Added IOmNavigator::get_appMinorVersion implementation.
This commit is contained in:
parent
cdd09ba185
commit
2daff9cc6c
|
@ -693,8 +693,14 @@ static HRESULT WINAPI OmNavigator_get_platform(IOmNavigator *iface, BSTR *p)
|
|||
static HRESULT WINAPI OmNavigator_get_appMinorVersion(IOmNavigator *iface, BSTR *p)
|
||||
{
|
||||
OmNavigator *This = impl_from_IOmNavigator(iface);
|
||||
FIXME("(%p)->(%p)\n", This, p);
|
||||
return E_NOTIMPL;
|
||||
|
||||
static const WCHAR zeroW[] = {'0',0};
|
||||
|
||||
TRACE("(%p)->(%p)\n", This, p);
|
||||
|
||||
/* NOTE: MSIE returns "0" or values like ";SP2;". Returning "0" should be enough. */
|
||||
*p = SysAllocString(zeroW);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI OmNavigator_get_connectionSpeed(IOmNavigator *iface, LONG *p)
|
||||
|
|
|
@ -3942,6 +3942,12 @@ static void test_navigator(IHTMLDocument2 *doc)
|
|||
skip("nonstandard user agent\n");
|
||||
}
|
||||
|
||||
bstr = NULL;
|
||||
hres = IOmNavigator_get_appMinorVersion(navigator, &bstr);
|
||||
ok(hres == S_OK, "get_appMonorVersion failed: %08x\n", hres);
|
||||
ok(bstr != NULL, "appMinorVersion returned NULL\n");
|
||||
SysFreeString(bstr);
|
||||
|
||||
test_mime_types_col(navigator);
|
||||
|
||||
ref = IOmNavigator_Release(navigator);
|
||||
|
|
Loading…
Reference in New Issue