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
ce83ff73
Commit
ce83ff73
authored
Aug 14, 2015
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 17, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Properly handle request aborted inside OnStartRequest.
parent
5d52373c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
navigate.c
dlls/mshtml/navigate.c
+5
-1
No files found.
dlls/mshtml/navigate.c
View file @
ce83ff73
...
@@ -939,6 +939,8 @@ static HRESULT on_start_nsrequest(nsChannelBSC *This)
...
@@ -939,6 +939,8 @@ static HRESULT on_start_nsrequest(nsChannelBSC *This)
}
}
if
(
This
->
is_doc_channel
)
{
if
(
This
->
is_doc_channel
)
{
if
(
!
This
->
bsc
.
window
)
return
E_ABORT
;
/* Binding aborted in OnStartRequest call. */
update_window_doc
(
This
->
bsc
.
window
);
update_window_doc
(
This
->
bsc
.
window
);
if
(
This
->
bsc
.
window
->
base
.
outer_window
->
readystate
!=
READYSTATE_LOADING
)
if
(
This
->
bsc
.
window
->
base
.
outer_window
->
readystate
!=
READYSTATE_LOADING
)
set_ready_state
(
This
->
bsc
.
window
->
base
.
outer_window
,
READYSTATE_LOADING
);
set_ready_state
(
This
->
bsc
.
window
->
base
.
outer_window
,
READYSTATE_LOADING
);
...
@@ -1053,7 +1055,9 @@ static HRESULT read_stream_data(nsChannelBSC *This, IStream *stream)
...
@@ -1053,7 +1055,9 @@ static HRESULT read_stream_data(nsChannelBSC *This, IStream *stream)
return
E_OUTOFMEMORY
;
return
E_OUTOFMEMORY
;
}
}
on_start_nsrequest
(
This
);
hres
=
on_start_nsrequest
(
This
);
if
(
FAILED
(
hres
))
return
hres
;
}
}
nsres
=
nsIStreamListener_OnDataAvailable
(
This
->
nslistener
,
nsres
=
nsIStreamListener_OnDataAvailable
(
This
->
nslistener
,
...
...
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