Commit 2daff9cc authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Added IOmNavigator::get_appMinorVersion implementation.

parent cdd09ba1
......@@ -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);
......
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