mshtml: Add test for OmNavigator_get_appName.
This commit is contained in:
parent
ecd7c11b5d
commit
33fe602bcd
|
@ -2445,6 +2445,12 @@ static void test_navigator(IHTMLDocument2 *doc)
|
|||
ok(!strcmp_wa(bstr, "Mozilla"), "Unexpected appCodeName %s\n", dbgstr_w(bstr));
|
||||
SysFreeString(bstr);
|
||||
|
||||
bstr = NULL;
|
||||
hres = IOmNavigator_get_appName(navigator, &bstr);
|
||||
ok(hres == S_OK, "get_appName failed: %08x\n", hres);
|
||||
ok(!strcmp_wa(bstr, "Microsoft Internet Explorer"), "Unexpected appCodeName %s\n", dbgstr_w(bstr));
|
||||
SysFreeString(bstr);
|
||||
|
||||
bstr = NULL;
|
||||
hres = IOmNavigator_get_platform(navigator, &bstr);
|
||||
ok(hres == S_OK, "get_platform failed: %08x\n", hres);
|
||||
|
|
Loading…
Reference in New Issue