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
8da7a00e
Commit
8da7a00e
authored
Dec 07, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Dec 07, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml/tests: Skip some tests on older IE.
parent
2efb8298
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
events.c
dlls/mshtml/tests/events.c
+13
-0
No files found.
dlls/mshtml/tests/events.c
View file @
8da7a00e
...
...
@@ -1774,12 +1774,23 @@ static void set_client_site(IHTMLDocument2 *doc, BOOL set)
static
IHTMLDocument2
*
create_document
(
void
)
{
IHTMLDocument2
*
doc
;
IHTMLDocument5
*
doc5
;
HRESULT
hres
;
hres
=
CoCreateInstance
(
&
CLSID_HTMLDocument
,
NULL
,
CLSCTX_INPROC_SERVER
|
CLSCTX_INPROC_HANDLER
,
&
IID_IHTMLDocument2
,
(
void
**
)
&
doc
);
ok
(
hres
==
S_OK
,
"CoCreateInstance failed: %08x
\n
"
,
hres
);
if
(
FAILED
(
hres
))
return
NULL
;
hres
=
IHTMLDocument2_QueryInterface
(
doc
,
&
IID_IHTMLDocument5
,
(
void
**
)
&
doc5
);
if
(
FAILED
(
hres
))
{
win_skip
(
"Could not get IHTMLDocument5 interface, probably too old IE
\n
"
);
IHTMLDocument2_Release
(
doc
);
return
NULL
;
}
IHTMLDocument5_Release
(
doc5
);
return
doc
;
}
...
...
@@ -1796,6 +1807,8 @@ static void run_test(const char *str, testfunc_t test)
xy_todo
=
FALSE
;
doc
=
create_document
();
if
(
!
doc
)
return
;
set_client_site
(
doc
,
TRUE
);
doc_load_string
(
doc
,
str
);
do_advise
((
IUnknown
*
)
doc
,
&
IID_IPropertyNotifySink
,
(
IUnknown
*
)
&
PropertyNotifySink
);
...
...
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