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
ca313f57
Commit
ca313f57
authored
May 18, 2018
by
Jacek Caban
Committed by
Alexandre Julliard
May 18, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Expose IHTMLWindow7 interface to scripts.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
127df702
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
htmlwindow.c
dlls/mshtml/htmlwindow.c
+9
-0
documentmode.js
dlls/mshtml/tests/documentmode.js
+2
-0
No files found.
dlls/mshtml/htmlwindow.c
View file @
ca313f57
...
@@ -3418,6 +3418,15 @@ static void HTMLWindow_bind_event(DispatchEx *dispex, eventid_t eid)
...
@@ -3418,6 +3418,15 @@ static void HTMLWindow_bind_event(DispatchEx *dispex, eventid_t eid)
static
void
HTMLWindow_init_dispex_info
(
dispex_data_t
*
info
,
compat_mode_t
compat_mode
)
static
void
HTMLWindow_init_dispex_info
(
dispex_data_t
*
info
,
compat_mode_t
compat_mode
)
{
{
/* FIXME: Expose getComputedStyle and performance once they are implemented.
* Stubs break existing web sites. */
static
const
dispex_hook_t
window7_hooks
[]
=
{
{
DISPID_IHTMLWINDOW7_GETCOMPUTEDSTYLE
,
NULL
},
{
DISPID_IHTMLWINDOW7_PERFORMANCE
,
NULL
},
{
DISPID_UNKNOWN
}
};
if
(
compat_mode
>=
COMPAT_MODE_IE9
)
dispex_info_add_interface
(
info
,
IHTMLWindow7_tid
,
window7_hooks
);
dispex_info_add_interface
(
info
,
IHTMLWindow5_tid
,
NULL
);
dispex_info_add_interface
(
info
,
IHTMLWindow5_tid
,
NULL
);
EventTarget_init_dispex_info
(
info
,
compat_mode
);
EventTarget_init_dispex_info
(
info
,
compat_mode
);
}
}
...
...
dlls/mshtml/tests/documentmode.js
View file @
ca313f57
...
@@ -84,6 +84,8 @@ function test_window_props() {
...
@@ -84,6 +84,8 @@ function test_window_props() {
test_exposed
(
"addEventListener"
,
v
>=
9
);
test_exposed
(
"addEventListener"
,
v
>=
9
);
test_exposed
(
"removeEventListener"
,
v
>=
9
);
test_exposed
(
"removeEventListener"
,
v
>=
9
);
test_exposed
(
"dispatchEvent"
,
v
>=
9
);
test_exposed
(
"dispatchEvent"
,
v
>=
9
);
test_exposed
(
"getSelection"
,
v
>=
9
);
test_exposed
(
"onfocusout"
,
v
>=
9
);
next_test
();
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