Alexandre Julliard : urlmon/tests: Allow more COOKIE_SENT notifications.

Alexandre Julliard julliard at winehq.org
Fri May 4 12:01:18 CDT 2012


Module: wine
Branch: master
Commit: 7f1b26a0a93f7f198f9bba63389c137088cd408f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7f1b26a0a93f7f198f9bba63389c137088cd408f

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu May  3 23:44:35 2012 +0200

urlmon/tests: Allow more COOKIE_SENT notifications.

---

 dlls/urlmon/tests/protocol.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/urlmon/tests/protocol.c b/dlls/urlmon/tests/protocol.c
index 9c864e2..a39b8ed 100644
--- a/dlls/urlmon/tests/protocol.c
+++ b/dlls/urlmon/tests/protocol.c
@@ -583,8 +583,6 @@ static void call_continue(PROTOCOLDATA *protocol_data)
             CHECK_CALLED(ReportProgress_REDIRECTING);
         state = test_async_req ? STATE_SENDINGREQUEST : STATE_STARTDOWNLOADING;
     }
-    else if(tested_protocol == HTTP_TEST || tested_protocol == HTTPS_TEST)
-        CLEAR_CALLED(ReportProgress_COOKIE_SENT);
 
     switch(state) {
     case STATE_SENDINGREQUEST:
@@ -2998,6 +2996,9 @@ static void test_http_protocol_url(LPCWSTR url, int prot, DWORD flags, DWORD tym
         if(prot == HTTPS_TEST)
             CLEAR_CALLED(ReportProgress_SENDINGREQUEST);
 
+        if (prot == HTTP_TEST || prot == HTTPS_TEST)
+            CLEAR_CALLED(ReportProgress_COOKIE_SENT);
+
         hres = IInternetProtocol_Abort(async_protocol, E_ABORT, 0);
         ok(hres == INET_E_RESULT_DISPATCHED, "Abort failed: %08x\n", hres);
 




More information about the wine-cvs mailing list