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
2936f113
Commit
2936f113
authored
Sep 12, 2017
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 12, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Expose IHTMLDocument7 interface to scripts.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8546c6a5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
htmldoc.c
dlls/mshtml/htmldoc.c
+3
-0
mshtml_private.h
dlls/mshtml/mshtml_private.h
+1
-0
documentmode.js
dlls/mshtml/tests/documentmode.js
+5
-0
No files found.
dlls/mshtml/htmldoc.c
View file @
2936f113
...
...
@@ -4939,6 +4939,9 @@ static void HTMLDocumentNode_init_dispex_info(dispex_data_t *info, compat_mode_t
{
HTMLDOMNode_init_dispex_info
(
info
,
mode
);
if
(
mode
>=
COMPAT_MODE_IE9
)
dispex_info_add_interface
(
info
,
IHTMLDocument7_tid
,
NULL
);
/* Depending on compatibility version, we add interfaces in different order
* so that the right getElementById implementation is used. */
if
(
mode
<
COMPAT_MODE_IE8
)
{
...
...
dlls/mshtml/mshtml_private.h
View file @
2936f113
...
...
@@ -146,6 +146,7 @@ typedef struct EventTarget EventTarget;
XIID(IHTMLDocument4) \
XIID(IHTMLDocument5) \
XIID(IHTMLDocument6) \
XIID(IHTMLDocument7) \
XIID(IHTMLDOMAttribute) \
XIID(IHTMLDOMAttribute2) \
XIID(IHTMLDOMChildrenCollection) \
...
...
dlls/mshtml/tests/documentmode.js
View file @
2936f113
...
...
@@ -51,6 +51,11 @@ function test_doc_props() {
test_exposed
(
"textContent"
,
v
>=
9
);
test_exposed
(
"prefix"
,
v
>=
9
);
test_exposed
(
"defaultView"
,
v
>=
9
);
test_exposed
(
"head"
,
v
>=
9
);
test_exposed
(
"parentWindow"
,
true
);
if
(
v
>=
9
)
ok
(
document
.
defaultView
===
document
.
parentWindow
,
"defaultView != parentWindow"
);
next_test
();
}
...
...
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