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
49679eb9
Commit
49679eb9
authored
Dec 04, 2017
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Expose IDocumentEvent to scripts.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d6d23a53
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
htmldoc.c
dlls/mshtml/htmldoc.c
+3
-1
mshtml_private.h
dlls/mshtml/mshtml_private.h
+1
-0
documentmode.js
dlls/mshtml/tests/documentmode.js
+1
-0
No files found.
dlls/mshtml/htmldoc.c
View file @
49679eb9
...
...
@@ -5107,8 +5107,10 @@ static void HTMLDocumentNode_init_dispex_info(dispex_data_t *info, compat_mode_t
{
HTMLDOMNode_init_dispex_info
(
info
,
mode
);
if
(
mode
>=
COMPAT_MODE_IE9
)
if
(
mode
>=
COMPAT_MODE_IE9
)
{
dispex_info_add_interface
(
info
,
IHTMLDocument7_tid
,
NULL
);
dispex_info_add_interface
(
info
,
IDocumentEvent_tid
,
NULL
);
}
/* Depending on compatibility version, we add interfaces in different order
* so that the right getElementById implementation is used. */
...
...
dlls/mshtml/mshtml_private.h
View file @
49679eb9
...
...
@@ -126,6 +126,7 @@ typedef struct EventTarget EventTarget;
XDIID(HTMLDocumentEvents) \
XDIID(HTMLElementEvents2) \
XIID(IDOMEvent) \
XIID(IDocumentEvent) \
XIID(IDocumentSelector) \
XIID(IElementSelector) \
XIID(IElementTraversal) \
...
...
dlls/mshtml/tests/documentmode.js
View file @
49679eb9
...
...
@@ -62,6 +62,7 @@ function test_doc_props() {
test_exposed
(
"addEventListener"
,
v
>=
9
);
test_exposed
(
"removeEventListener"
,
v
>=
9
);
test_exposed
(
"dispatchEvent"
,
v
>=
9
);
test_exposed
(
"createEvent"
,
v
>=
9
);
test_exposed
(
"parentWindow"
,
true
);
if
(
v
>=
9
)
ok
(
document
.
defaultView
===
document
.
parentWindow
,
"defaultView != parentWindow"
);
...
...
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