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
a52828c8
Commit
a52828c8
authored
Oct 20, 2017
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Don't use fire_event to dispatch window load event.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6bf1250b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
nsevents.c
dlls/mshtml/nsevents.c
+9
-1
No files found.
dlls/mshtml/nsevents.c
View file @
a52828c8
...
...
@@ -267,10 +267,18 @@ static nsresult NSAPI handle_load(nsIDOMEventListener *iface, nsIDOMEvent *event
&
doc
->
basedoc
.
window
->
base
.
IHTMLWindow2_iface
,
0
);
if
(
doc
->
nsdoc
)
{
DOMEvent
*
load_event
;
HRESULT
hres
;
flush_pending_tasks
(
doc
->
basedoc
.
task_magic
);
fire_event
(
doc
,
EVENTID_LOAD
,
TRUE
,
&
doc
->
node
.
event_target
,
event
);
fire_event
(
doc
,
EVENTID_LOAD
,
TRUE
,
&
doc
->
window
->
event_target
,
event
);
hres
=
create_event_from_nsevent
(
event
,
&
load_event
);
if
(
SUCCEEDED
(
hres
))
{
fire_event_obj
(
&
doc
->
window
->
event_target
,
load_event
);
IDOMEvent_Release
(
&
load_event
->
IDOMEvent_iface
);
}
}
else
{
ERR
(
"NULL nsdoc
\n
"
);
nsres
=
NS_ERROR_FAILURE
;
...
...
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