mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 11:33:38 +00:00
urlmon/tests: Handle BSCF_SKIPDRAINDATAFORFILEURLS to fix failures on IE8.
This commit is contained in:
parent
321b2f00f3
commit
b5eb3be433
|
@ -599,7 +599,9 @@ static HRESULT WINAPI ProtocolSink_ReportData(IInternetProtocolSink *iface, DWOR
|
|||
ok(ulProgress == ulProgressMax, "ulProgress (%d) != ulProgressMax (%d)\n",
|
||||
ulProgress, ulProgressMax);
|
||||
ok(ulProgressMax == 13, "ulProgressMax=%d, expected 13\n", ulProgressMax);
|
||||
ok(grfBSCF == (BSCF_FIRSTDATANOTIFICATION | BSCF_LASTDATANOTIFICATION),
|
||||
/* BSCF_SKIPDRAINDATAFORFILEURLS added in IE8 */
|
||||
ok((grfBSCF == (BSCF_FIRSTDATANOTIFICATION | BSCF_LASTDATANOTIFICATION)) ||
|
||||
(grfBSCF == (BSCF_FIRSTDATANOTIFICATION | BSCF_LASTDATANOTIFICATION | BSCF_SKIPDRAINDATAFORFILEURLS)),
|
||||
"grcfBSCF = %08x\n", grfBSCF);
|
||||
}else if(!binding_test && (tested_protocol == HTTP_TEST || tested_protocol == HTTPS_TEST || tested_protocol == FTP_TEST)) {
|
||||
if(!(grfBSCF & BSCF_LASTDATANOTIFICATION) || (grfBSCF & BSCF_DATAFULLYAVAILABLE))
|
||||
|
|
|
@ -198,7 +198,9 @@ interface IBindStatusCallback : IUnknown
|
|||
BSCF_INTERMEDIATEDATANOTIFICATION = 0x02,
|
||||
BSCF_LASTDATANOTIFICATION = 0x04,
|
||||
BSCF_DATAFULLYAVAILABLE = 0x08,
|
||||
BSCF_AVAILABLEDATASIZEUNKNOWN = 0x10
|
||||
BSCF_AVAILABLEDATASIZEUNKNOWN = 0x10,
|
||||
BSCF_SKIPDRAINDATAFORFILEURLS = 0x20,
|
||||
BSCF_64BITLENGTHDOWNLOAD = 0x40
|
||||
} BSCF;
|
||||
|
||||
typedef enum BINDSTATUS
|
||||
|
|
Loading…
Reference in a new issue