mshtml/tests: Fixed location tests on IE11.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5f8f192998
commit
f903632427
|
@ -215,7 +215,8 @@ static void test_port(IHTMLLocation *loc, const struct location_test *test)
|
||||||
hres = IHTMLLocation_get_port(loc, &str);
|
hres = IHTMLLocation_get_port(loc, &str);
|
||||||
ok(hres == S_OK, "%s: get_port failed: 0x%08x\n", test->name, hres);
|
ok(hres == S_OK, "%s: get_port failed: 0x%08x\n", test->name, hres);
|
||||||
if(hres == S_OK)
|
if(hres == S_OK)
|
||||||
ok(str_eq_wa(str, test->port),
|
ok(str_eq_wa(str, test->port)
|
||||||
|
|| (!str && !*test->port), /* IE11 */
|
||||||
"%s: expected retrieved port to be L\"%s\", was: %s\n",
|
"%s: expected retrieved port to be L\"%s\", was: %s\n",
|
||||||
test->name, test->port, wine_dbgstr_w(str));
|
test->name, test->port, wine_dbgstr_w(str));
|
||||||
SysFreeString(str);
|
SysFreeString(str);
|
||||||
|
|
Loading…
Reference in New Issue