mshtml/tests: Allow ParseUrl to clear buffer on Win10 (try 2)
André Hentschel
nerv at dawncrow.de
Wed Jun 22 16:50:21 CDT 2016
Signed-off-by: André Hentschel <nerv at dawncrow.de>
---
(removed the extra ok() call this time)
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);
--
2.7.4
More information about the wine-patches
mailing list