Jacek Caban : urlmon: Fixed tests on IE older than 8.

Alexandre Julliard julliard at winehq.org
Mon Aug 24 10:08:03 CDT 2009


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Sat Aug 22 19:22:11 2009 +0200

urlmon: Fixed tests on IE older than 8.

---

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

diff --git a/dlls/urlmon/tests/protocol.c b/dlls/urlmon/tests/protocol.c
index b8e6e98..0c7932a 100644
--- a/dlls/urlmon/tests/protocol.c
+++ b/dlls/urlmon/tests/protocol.c
@@ -672,7 +672,8 @@ static HRESULT WINAPI ProtocolSink_ReportData(IInternetProtocolSink *iface, DWOR
             CHECK_EXPECT2(ReportData);
 
             if(short_read) {
-                ok(grfBSCF == (BSCF_FIRSTDATANOTIFICATION|BSCF_LASTDATANOTIFICATION|BSCF_DATAFULLYAVAILABLE),
+                ok(grfBSCF == (BSCF_FIRSTDATANOTIFICATION|BSCF_LASTDATANOTIFICATION|BSCF_DATAFULLYAVAILABLE)
+                   || grfBSCF == BSCF_FIRSTDATANOTIFICATION, /* < IE8 */
                    "grcfBSCF = %08x\n", grfBSCF);
                 CHECK_CALLED(Read); /* Set in Continue */
                 first_data_notif = FALSE;




More information about the wine-cvs mailing list