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
11d4969b
Commit
11d4969b
authored
Jun 07, 2017
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 07, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added DOCHOSTUIFLAG_ENABLE_REDIRECT_NOTIFICATION flag support.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a8a050e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
binding.h
dlls/mshtml/binding.h
+1
-0
navigate.c
dlls/mshtml/navigate.c
+9
-1
No files found.
dlls/mshtml/binding.h
View file @
11d4969b
...
...
@@ -82,6 +82,7 @@ struct BSCallback {
request_data_t
request_data
;
ULONG
readed
;
DWORD
bindf
;
DWORD
bindinfo_options
;
BOOL
bindinfo_ready
;
binding_bom_t
bom
;
...
...
dlls/mshtml/navigate.c
View file @
11d4969b
...
...
@@ -390,7 +390,7 @@ static HRESULT WINAPI BindStatusCallback_GetBindInfo(IBindStatusCallback *iface,
pbindinfo
->
cbstgmedData
=
This
->
request_data
.
post_data_len
;
pbindinfo
->
dwCodePage
=
CP_UTF8
;
pbindinfo
->
dwOptions
=
0x80000
;
pbindinfo
->
dwOptions
=
This
->
bindinfo_options
;
if
(
This
->
request_data
.
post_data_len
)
{
pbindinfo
->
dwBindVerb
=
BINDVERB_POST
;
...
...
@@ -674,6 +674,7 @@ void init_bscallback(BSCallback *This, const BSCallbackVtbl *vtbl, IMoniker *mon
This
->
vtbl
=
vtbl
;
This
->
ref
=
1
;
This
->
bindf
=
bindf
;
This
->
bindinfo_options
=
BINDINFO_OPTIONS_USE_IE_ENCODING
;
This
->
bom
=
BOM_NONE
;
list_init
(
&
This
->
entry
);
...
...
@@ -1312,8 +1313,15 @@ static HRESULT nsChannelBSC_init_bindinfo(BSCallback *bsc)
{
nsChannelBSC
*
This
=
nsChannelBSC_from_BSCallback
(
bsc
);
nsChannel
*
nschannel
=
This
->
nschannel
;
HTMLDocumentObj
*
doc_obj
;
HRESULT
hres
;
if
(
This
->
is_doc_channel
&&
This
->
bsc
.
window
&&
This
->
bsc
.
window
->
base
.
outer_window
&&
(
doc_obj
=
This
->
bsc
.
window
->
base
.
outer_window
->
doc_obj
))
{
if
(
doc_obj
->
hostinfo
.
dwFlags
&
DOCHOSTUIFLAG_ENABLE_REDIRECT_NOTIFICATION
)
This
->
bsc
.
bindinfo_options
|=
BINDINFO_OPTIONS_DISABLEAUTOREDIRECTS
;
}
if
(
nschannel
&&
nschannel
->
post_data_stream
)
{
hres
=
read_post_data_stream
(
nschannel
->
post_data_stream
,
nschannel
->
post_data_contains_headers
,
&
nschannel
->
request_headers
,
&
This
->
bsc
.
request_data
);
...
...
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