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
44aa2072
Commit
44aa2072
authored
Jan 18, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 18, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added a test showing that HTMLDocument does not support ITargetFrame interface.
parent
e5558c5c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
htmldoc.c
dlls/mshtml/tests/htmldoc.c
+5
-0
No files found.
dlls/mshtml/tests/htmldoc.c
View file @
44aa2072
...
@@ -6288,6 +6288,11 @@ static void test_QueryInterface(IHTMLDocument2 *doc)
...
@@ -6288,6 +6288,11 @@ static void test_QueryInterface(IHTMLDocument2 *doc)
ok
(
hres
==
E_NOINTERFACE
,
"QueryInterface returned %08x, expected E_NOINTERFACE
\n
"
,
hres
);
ok
(
hres
==
E_NOINTERFACE
,
"QueryInterface returned %08x, expected E_NOINTERFACE
\n
"
,
hres
);
ok
(
qi
==
NULL
,
"qi=%p, expected NULL
\n
"
,
qi
);
ok
(
qi
==
NULL
,
"qi=%p, expected NULL
\n
"
,
qi
);
qi
=
(
void
*
)
0xdeadbeef
;
hres
=
IUnknown_QueryInterface
(
doc
,
&
IID_ITargetFrame
,
(
void
**
)
&
qi
);
ok
(
hres
==
E_NOINTERFACE
,
"QueryInterface returned %08x, expected E_NOINTERFACE
\n
"
,
hres
);
ok
(
qi
==
NULL
,
"qi=%p, expected NULL
\n
"
,
qi
);
hres
=
IUnknown_QueryInterface
(
doc
,
&
IID_IDispatch
,
(
void
**
)
&
qi
);
hres
=
IUnknown_QueryInterface
(
doc
,
&
IID_IDispatch
,
(
void
**
)
&
qi
);
ok
(
hres
==
S_OK
,
"Could not get IDispatch interface: %08x
\n
"
,
hres
);
ok
(
hres
==
S_OK
,
"Could not get IDispatch interface: %08x
\n
"
,
hres
);
ok
(
qi
!=
(
IUnknown
*
)
doc
,
"disp == doc
\n
"
);
ok
(
qi
!=
(
IUnknown
*
)
doc
,
"disp == doc
\n
"
);
...
...
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