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
c2d55cd2
Commit
c2d55cd2
authored
Nov 07, 2022
by
Gabriel Ivăncescu
Committed by
Alexandre Julliard
Nov 07, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Return E_ABORT if wine-gecko's OnDataAvailable aborts the binding.
Signed-off-by:
Gabriel Ivăncescu
<
gabrielopcode@gmail.com
>
parent
08957afe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
navigate.c
dlls/mshtml/navigate.c
+4
-2
nsembed.c
dlls/mshtml/nsembed.c
+2
-0
No files found.
dlls/mshtml/navigate.c
View file @
c2d55cd2
...
...
@@ -1184,8 +1184,10 @@ static HRESULT read_stream_data(nsChannelBSC *This, IStream *stream)
(
nsIRequest
*
)
&
This
->
nschannel
->
nsIHttpChannel_iface
,
This
->
nscontext
,
&
This
->
nsstream
->
nsIInputStream_iface
,
This
->
bsc
.
read
-
This
->
nsstream
->
buf_size
,
This
->
nsstream
->
buf_size
);
if
(
NS_FAILED
(
nsres
))
ERR
(
"OnDataAvailable failed: %08lx
\n
"
,
nsres
);
if
(
NS_FAILED
(
nsres
))
{
WARN
(
"OnDataAvailable failed: %08lx
\n
"
,
nsres
);
return
map_nsresult
(
nsres
);
}
if
(
This
->
nsstream
->
buf_size
==
sizeof
(
This
->
nsstream
->
buf
))
{
ERR
(
"buffer is full
\n
"
);
...
...
dlls/mshtml/nsembed.c
View file @
c2d55cd2
...
...
@@ -911,6 +911,8 @@ HRESULT map_nsresult(nsresult nsres)
return
E_UNEXPECTED
;
case
NS_ERROR_DOM_NO_MODIFICATION_ALLOWED_ERR
:
return
0x80700007
;
/* according to tests */
case
NS_BINDING_ABORTED
:
return
E_ABORT
;
}
return
E_FAIL
;
}
...
...
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