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
8c48c632
Commit
8c48c632
authored
Jun 13, 2018
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 13, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml.idl: Added IHTMLPerformance test.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
47f92ec0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
dom.c
dlls/mshtml/tests/dom.c
+24
-0
No files found.
dlls/mshtml/tests/dom.c
View file @
8c48c632
...
...
@@ -6742,6 +6742,7 @@ static void test_window(IHTMLDocument2 *doc)
{
IHTMLWindow2
*
window
,
*
window2
,
*
self
,
*
parent
;
IHTMLWindow5
*
window5
;
IHTMLWindow7
*
window7
;
IHTMLDocument2
*
doc2
=
NULL
;
IDispatch
*
disp
;
IUnknown
*
unk
;
...
...
@@ -6843,6 +6844,29 @@ static void test_window(IHTMLDocument2 *doc)
win_skip
(
"IHTMLWindow5 not supported!
\n
"
);
}
hres
=
IHTMLWindow2_QueryInterface
(
window
,
&
IID_IHTMLWindow7
,
(
void
**
)
&
window7
);
if
(
SUCCEEDED
(
hres
))
{
IHTMLPerformance
*
performance
;
ok
(
window7
!=
NULL
,
"window7 == NULL
\n
"
);
hres
=
IHTMLWindow7_get_performance
(
window7
,
&
v
);
todo_wine
ok
(
hres
==
S_OK
,
"get_performance failed: %08x
\n
"
,
hres
);
if
(
SUCCEEDED
(
hres
))
{
ok
(
V_VT
(
&
v
)
==
VT_DISPATCH
,
"V_VT(performance) = %u
\n
"
,
V_VT
(
&
v
));
hres
=
IDispatch_QueryInterface
(
V_DISPATCH
(
&
v
),
&
IID_IHTMLPerformance
,
(
void
**
)
&
performance
);
ok
(
hres
==
S_OK
,
"Could not get IHTMLPerformance iface: %08x
\n
"
,
hres
);
IHTMLPerformance_Release
(
performance
);
IHTMLWindow7_Release
(
window7
);
}
}
else
{
win_skip
(
"IHTMLWindow7 not supported
\n
"
);
}
IHTMLWindow2_Release
(
window
);
}
...
...
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