mshtml/tests: Allow ParseUrl to clear buffer on Win10

André Hentschel nerv at dawncrow.de
Wed Jun 22 16:36:53 CDT 2016


Signed-off-by: André Hentschel <nerv at dawncrow.de>
---
 dlls/mshtml/tests/protocol.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dlls/mshtml/tests/protocol.c b/dlls/mshtml/tests/protocol.c
index f9803df..03f4924 100644
--- a/dlls/mshtml/tests/protocol.c
+++ b/dlls/mshtml/tests/protocol.c
@@ -721,6 +721,9 @@ static void test_about_protocol(void)
                 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