Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
42dea36e
Commit
42dea36e
authored
Aug 08, 2007
by
Misha Koshelev
Committed by
Alexandre Julliard
Aug 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Do not use BindToStorage_hack for INTERNET_SCHEME_HTTP.
parent
a893bb32
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
22 deletions
+7
-22
url.c
dlls/urlmon/tests/url.c
+6
-14
umon.c
dlls/urlmon/umon.c
+1
-8
No files found.
dlls/urlmon/tests/url.c
View file @
42dea36e
...
...
@@ -641,12 +641,9 @@ static HRESULT WINAPI statusclb_OnDataAvailable(IBindStatusCallback *iface, DWOR
download_state
);
data_available
=
TRUE
;
if
(
0
)
{
/* FIXME: Uncomment after removing BindToStorage hack. */
ok
(
pformatetc
!=
NULL
,
"pformatetx == NULL
\n
"
);
if
(
pformatetc
)
{
if
(
mime_type
[
0
])
{
if
(
mime_type
[
0
])
todo_wine
{
clipfmt
[
0
]
=
0
;
ok
(
GetClipboardFormatName
(
pformatetc
->
cfFormat
,
clipfmt
,
sizeof
(
clipfmt
)
-
1
),
"GetClipboardFormatName failed, error %d
\n
"
,
GetLastError
());
...
...
@@ -667,7 +664,6 @@ static HRESULT WINAPI statusclb_OnDataAvailable(IBindStatusCallback *iface, DWOR
ok
(
U
(
*
pstgmed
).
pstm
!=
NULL
,
"pstm == NULL
\n
"
);
ok
(
pstgmed
->
pUnkForRelease
!=
NULL
,
"pUnkForRelease == NULL
\n
"
);
}
}
if
(
U
(
*
pstgmed
).
pstm
)
{
do
hres
=
IStream_Read
(
U
(
*
pstgmed
).
pstm
,
buf
,
512
,
&
readed
);
...
...
@@ -895,17 +891,16 @@ static void test_BindToStorage(int protocol, BOOL emul)
DispatchMessage
(
&
msg
);
}
todo_wine
CHECK_NOT_CALLED
(
QueryInterface_IServiceProvider
);
CHECK_CALLED
(
GetBindInfo
);
CHECK_CALLED
(
OnStartBinding
);
if
(
emulate_protocol
)
{
todo_wine
CHECK_NOT_CALLED
(
QueryInterface_IServiceProvider
);
CHECK_CALLED
(
Start
);
CHECK_CALLED
(
UnlockRequest
);
}
else
{
if
(
test_protocol
==
HTTP_TEST
)
{
CHECK_NOT_CALLED
(
QueryInterface_IServiceProvider
);
todo_wine
CHECK_CALLED
(
QueryInterface_IHttpNegotiate
);
todo_wine
CHECK_CALLED
(
BeginningTransaction
);
CHECK_CALLED
(
QueryInterface_IHttpNegotiate
);
CHECK_CALLED
(
BeginningTransaction
);
/* QueryInterface_IHttpNegotiate2 and GetRootSecurityId
* called on WinXP but not on Win98 */
CLEAR_CALLED
(
QueryInterface_IHttpNegotiate2
);
...
...
@@ -918,12 +913,9 @@ static void test_BindToStorage(int protocol, BOOL emul)
CHECK_NOT_CALLED
(
OnProgress_CONNECTING
);
}
CHECK_CALLED
(
OnProgress_SENDINGREQUEST
);
todo_wine
CHECK_CALLED
(
OnResponse
);
todo_wine
{
CHECK_CALLED
(
OnProgress_MIMETYPEAVAILABLE
);
}
}
else
{
todo_wine
CHECK_NOT_CALLED
(
QueryInterface_IServiceProvider
);
CHECK_CALLED
(
OnProgress_MIMETYPEAVAILABLE
);
CHECK_CALLED
(
OnResponse
);
}
CHECK_CALLED
(
OnProgress_MIMETYPEAVAILABLE
);
CHECK_CALLED
(
OnProgress_BEGINDOWNLOADDATA
);
if
(
test_protocol
==
HTTP_TEST
)
CLEAR_CALLED
(
OnProgress_DOWNLOADINGDATA
);
...
...
dlls/urlmon/umon.c
View file @
42dea36e
...
...
@@ -617,12 +617,6 @@ static HRESULT URLMonikerImpl_BindToStorage_hack(LPCWSTR URLName,
dwService
=
INTERNET_SERVICE_GOPHER
;
break
;
case
INTERNET_SCHEME_HTTP
:
if
(
!
url
.
nPort
)
url
.
nPort
=
INTERNET_DEFAULT_HTTP_PORT
;
dwService
=
INTERNET_SERVICE_HTTP
;
break
;
case
INTERNET_SCHEME_HTTPS
:
if
(
!
url
.
nPort
)
url
.
nPort
=
INTERNET_DEFAULT_HTTPS_PORT
;
...
...
@@ -755,8 +749,7 @@ static HRESULT WINAPI URLMonikerImpl_BindToStorage(IMoniker* iface,
return
E_FAIL
;
}
if
(
url
.
nScheme
==
INTERNET_SCHEME_HTTP
||
url
.
nScheme
==
INTERNET_SCHEME_HTTPS
if
(
url
.
nScheme
==
INTERNET_SCHEME_HTTPS
||
url
.
nScheme
==
INTERNET_SCHEME_FTP
||
url
.
nScheme
==
INTERNET_SCHEME_GOPHER
)
return
URLMonikerImpl_BindToStorage_hack
(
This
->
URLName
,
pbc
,
pmkToLeft
,
riid
,
ppvObject
);
...
...
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