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
e0ef2d17
Commit
e0ef2d17
authored
Oct 14, 2010
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 14, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fixed the first ReportData invocation when binding from objects created by BindToObject.
parent
87a138f3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
binding.c
dlls/urlmon/binding.c
+2
-1
url.c
dlls/urlmon/tests/url.c
+5
-1
No files found.
dlls/urlmon/binding.c
View file @
e0ef2d17
...
...
@@ -1566,7 +1566,8 @@ static HRESULT start_binding(IMoniker *mon, Binding *binding_ctx, LPCWSTR url, I
set_binding_sink
(
binding
->
protocol
,
PROTSINK
(
binding
),
BINDINF
(
binding
));
if
(
binding_ctx
->
redirect_url
)
IBindStatusCallback_OnProgress
(
binding
->
callback
,
0
,
0
,
BINDSTATUS_REDIRECTING
,
binding_ctx
->
redirect_url
);
report_data
(
binding
,
0
,
0
,
0
);
report_data
(
binding
,
BSCF_FIRSTDATANOTIFICATION
|
(
binding_ctx
->
download_state
==
END_DOWNLOAD
?
BSCF_LASTDATANOTIFICATION
:
0
),
0
,
0
);
}
else
{
hres
=
IInternetProtocol_Start
(
binding
->
protocol
,
url
,
PROTSINK
(
binding
),
BINDINF
(
binding
),
PI_APARTMENTTHREADED
|
PI_MIMEVERIFICATION
,
0
);
...
...
dlls/urlmon/tests/url.c
View file @
e0ef2d17
...
...
@@ -189,7 +189,7 @@ static IInternetProtocolSink *protocol_sink = NULL;
static
IBinding
*
current_binding
;
static
HANDLE
complete_event
,
complete_event2
;
static
HRESULT
binding_hres
;
static
BOOL
have_IHttpNegotiate2
,
use_bscex
;
static
BOOL
have_IHttpNegotiate2
,
use_bscex
,
is_async_prot
;
static
BOOL
test_redirect
,
use_cache_file
,
callback_read
,
no_callback
,
test_abort
;
static
WCHAR
cache_file_name
[
MAX_PATH
];
...
...
@@ -1601,6 +1601,9 @@ static HRESULT WINAPI statusclb_OnDataAvailable(IBindStatusCallbackEx *iface, DW
download_state
);
data_available
=
TRUE
;
if
(
bind_to_object
&&
!
is_async_prot
)
ok
(
grfBSCF
==
(
BSCF_FIRSTDATANOTIFICATION
|
BSCF_LASTDATANOTIFICATION
),
"grfBSCF = %x
\n
"
,
grfBSCF
);
ok
(
pformatetc
!=
NULL
,
"pformatetx == NULL
\n
"
);
if
(
pformatetc
)
{
if
(
mime_type
[
0
])
{
...
...
@@ -2452,6 +2455,7 @@ static void init_bind_test(int protocol, DWORD flags, DWORD t)
callback_read
=
!
(
flags
&
BINDTEST_NO_CALLBACK_READ
);
no_callback
=
(
flags
&
BINDTEST_NO_CALLBACK
)
!=
0
;
test_abort
=
(
flags
&
BINDTEST_ABORT
)
!=
0
;
is_async_prot
=
protocol
==
HTTP_TEST
||
protocol
==
HTTPS_TEST
||
protocol
==
FTP_TEST
||
protocol
==
WINETEST_TEST
;
}
static
void
test_BindToStorage
(
int
protocol
,
DWORD
flags
,
DWORD
t
)
...
...
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