Commit 7230b6b2 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

urlmon: Fixed some failures on IE9.

parent 69f4def9
......@@ -701,7 +701,7 @@ static HRESULT WINAPI ProtocolSink_ReportProgress(IInternetProtocolSink *iface,
ok(szStatusText != NULL, "szStatusText == NULL\n");
if(szStatusText) {
if(tested_protocol == BIND_TEST)
ok(szStatusText == expect_wsz, "unexpected szStatusText\n");
ok(!lstrcmpW(szStatusText, expect_wsz), "unexpected szStatusText %s\n", wine_dbgstr_w(szStatusText));
else if (http_post_test)
ok(lstrlenW(text_plain) <= lstrlenW(szStatusText) &&
!memcmp(szStatusText, text_plain, lstrlenW(text_plain)*sizeof(WCHAR)),
......@@ -785,8 +785,9 @@ static HRESULT WINAPI ProtocolSink_ReportProgress(IInternetProtocolSink *iface,
ok(!szStatusText, "szStatusText = %s\n", wine_dbgstr_w(szStatusText));
break;
case BINDSTATUS_PROXYDETECTING:
CHECK_EXPECT(ReportProgress_PROXYDETECTING);
SET_EXPECT(ReportProgress_CONNECTING);
if(!called_ReportProgress_PROXYDETECTING)
SET_EXPECT(ReportProgress_CONNECTING);
CHECK_EXPECT2(ReportProgress_PROXYDETECTING);
ok(!szStatusText, "szStatusText = %s\n", wine_dbgstr_w(szStatusText));
break;
case BINDSTATUS_LOADINGMIMEHANDLER:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment