Jacek Caban : mshtml/tests: Fixed location tests on IE11.
Module: wine Branch: master Commit: f9036324278650ed72b07f3625f7920894f9ae22 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f9036324278650ed72b07f3625... Author: Jacek Caban <jacek(a)codeweavers.com> Date: Wed Jan 13 16:32:28 2016 +0100 mshtml/tests: Fixed location tests on IE11. Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/mshtml/tests/htmllocation.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/mshtml/tests/htmllocation.c b/dlls/mshtml/tests/htmllocation.c index 8bf5517..ee241e7 100644 --- a/dlls/mshtml/tests/htmllocation.c +++ b/dlls/mshtml/tests/htmllocation.c @@ -215,7 +215,8 @@ static void test_port(IHTMLLocation *loc, const struct location_test *test) hres = IHTMLLocation_get_port(loc, &str); ok(hres == S_OK, "%s: get_port failed: 0x%08x\n", test->name, hres); 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", test->name, test->port, wine_dbgstr_w(str)); SysFreeString(str);
participants (1)
-
Alexandre Julliard