André Hentschel : mshtml/tests: Allow ParseUrl to clear buffer on Win10.
Module: wine Branch: master Commit: 56e06d3f2e511c8eee677341489089612768d127 URL: http://source.winehq.org/git/wine.git/?a=commit;h=56e06d3f2e511c8eee67734148... Author: André Hentschel <nerv(a)dawncrow.de> Date: Wed Jun 22 23:50:21 2016 +0200 mshtml/tests: Allow ParseUrl to clear buffer on Win10. Signed-off-by: André Hentschel <nerv(a)dawncrow.de> Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/mshtml/tests/protocol.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/mshtml/tests/protocol.c b/dlls/mshtml/tests/protocol.c index f9803df..6376f3f 100644 --- a/dlls/mshtml/tests/protocol.c +++ b/dlls/mshtml/tests/protocol.c @@ -720,7 +720,9 @@ static void test_about_protocol(void) hres = IInternetProtocolInfo_ParseUrl(protocol_info, about_blank_url, PARSE_DOMAIN, 0, buf, sizeof(buf)/sizeof(buf[0]), &size, 0); ok(hres == S_OK || hres == E_FAIL, "ParseUrl failed: %08x\n", hres); - ok(buf[0] == '?', "buf changed\n"); + ok(buf[0] == '?' || buf[0] == '\0' /* Win10 */, + "Expected buf to be unchanged or empty, got %s\n", + wine_dbgstr_w(buf)); ok(size == sizeof(about_blank_url)/sizeof(WCHAR) || size == sizeof(buf)/sizeof(buf[0]), /* IE8 */ "size=%d\n", size);
participants (1)
-
Alexandre Julliard