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
47df11ab
Commit
47df11ab
authored
Jul 11, 2018
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 11, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Expose window.performance property to scripts.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
69d6ae3d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
htmlwindow.c
dlls/mshtml/htmlwindow.c
+1
-2
documentmode.js
dlls/mshtml/tests/documentmode.js
+2
-0
No files found.
dlls/mshtml/htmlwindow.c
View file @
47df11ab
...
...
@@ -3441,11 +3441,10 @@ 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
)
{
/* FIXME: Expose getComputedStyle
and performance once they are
implemented.
/* FIXME: Expose getComputedStyle
once it's
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
)
...
...
dlls/mshtml/tests/documentmode.js
View file @
47df11ab
...
...
@@ -103,6 +103,8 @@ function test_window_props() {
test_exposed
(
"dispatchEvent"
,
v
>=
9
);
test_exposed
(
"getSelection"
,
v
>=
9
);
test_exposed
(
"onfocusout"
,
v
>=
9
);
if
(
v
>=
9
)
/* FIXME: native exposes it in all compat modes */
test_exposed
(
"performance"
,
true
);
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