MSHTML: Fix protocol test on winxp
Jacek Caban
jack at itma.pwr.wroc.pl
Sat Aug 13 08:03:36 CDT 2005
I definitely forget to attach the patch too often, sorry.
This patch should fix the test:
http://test.winehq.org/data/200508111000/xp_egore-2005-08-11-2/mshtml:protocol.txt
Changelog:
Fix protocol test on winxp
-------------- next part --------------
Index: dlls/mshtml/tests/protocol.c
===================================================================
RCS file: /home/wine/wine/dlls/mshtml/tests/protocol.c,v
retrieving revision 1.4
diff -u -p -r1.4 protocol.c
--- dlls/mshtml/tests/protocol.c 9 Aug 2005 20:35:36 -0000 1.4
+++ dlls/mshtml/tests/protocol.c 13 Aug 2005 12:43:06 -0000
@@ -70,8 +70,8 @@ static HRESULT WINAPI ProtocolSink_Repor
static const WCHAR text_html[] = {'t','e','x','t','/','h','t','m','l',0};
ok(expect_ReportProgress, "unexpected call\n");
- ok(ulStatusCode == BINDSTATUS_MIMETYPEAVAILABLE,
- "ulStatusCode=%ld expected BINDSTATUS_MIMETYPEAVAILABLE\n", ulStatusCode);
+ ok(ulStatusCode == BINDSTATUS_MIMETYPEAVAILABLE
+ || ulStatusCode == BINDSTATUS_VERFIEDMIMETYPEAVAILABLE, "ulStatusCode=%ld\n", ulStatusCode);
ok(!lstrcmpW(szStatusText, text_html), "szStatusText != text/html\n");
expect_ReportProgress = FALSE;
called_ReportProgress = TRUE;
More information about the wine-patches
mailing list