Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
abf8d628
Commit
abf8d628
authored
Feb 12, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 12, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Fixed tests on IEs that report BINDSTATUS_DECODING.
This seems to happen on some IE versions that decode gzip streams in urlmon (as opposed to wininet).
parent
c1a15b75
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
url.c
dlls/urlmon/tests/url.c
+6
-3
No files found.
dlls/urlmon/tests/url.c
View file @
abf8d628
...
...
@@ -1468,10 +1468,10 @@ static void test_WinInetHttpInfo(IWinInetHttpInfo *http_info, DWORD progress)
ok
(
hres
==
expect
||
((
progress
==
BINDSTATUS_COOKIE_SENT
||
progress
==
BINDSTATUS_PROXYDETECTING
)
&&
hres
==
S_FALSE
),
"progress %u: hres = %x, expected %x
\n
"
,
progress
,
hres
,
expect
);
if
(
hres
==
S_OK
)
{
if
(
download_state
==
BEFORE_DOWNLOAD
&&
progress
!=
BINDSTATUS_MIMETYPEAVAILABLE
)
ok
(
status
==
0
,
"
status = %d
\n
"
,
status
);
if
(
download_state
==
BEFORE_DOWNLOAD
&&
progress
!=
BINDSTATUS_MIMETYPEAVAILABLE
&&
progress
!=
BINDSTATUS_DECODING
)
ok
(
status
==
0
,
"
progress %u: status = %d
\n
"
,
progress
,
status
);
else
ok
(
status
==
HTTP_STATUS_OK
,
"
status = %d
\n
"
,
status
);
ok
(
status
==
HTTP_STATUS_OK
,
"
progress %u: status = %d
\n
"
,
progress
,
status
);
ok
(
size
==
sizeof
(
DWORD
),
"size = %d
\n
"
,
size
);
}
...
...
@@ -1816,6 +1816,9 @@ static HRESULT WINAPI statusclb_OnProgress(IBindStatusCallbackEx *iface, ULONG u
case
BINDSTATUS_COOKIE_SENT
:
trace
(
"BINDSTATUS_COOKIE_SENT
\n
"
);
break
;
case
BINDSTATUS_DECODING
:
trace
(
"BINDSTATUS_DECODING
\n
"
);
break
;
default:
ok
(
0
,
"unexpected code %d
\n
"
,
ulStatusCode
);
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment