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
cc851167
Commit
cc851167
authored
Nov 22, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 24, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Skip tests on old IE as soon as possible.
parent
60d12a3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
dom.c
dlls/mshtml/tests/dom.c
+12
-0
No files found.
dlls/mshtml/tests/dom.c
View file @
cc851167
...
...
@@ -409,12 +409,21 @@ static BOOL iface_cmp(IUnknown *iface1, IUnknown *iface2)
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
);
hres
=
IHTMLDocument2_QueryInterface
(
doc
,
&
IID_IHTMLDocument5
,
(
void
**
)
&
doc5
);
if
(
FAILED
(
hres
))
{
win_skip
(
"Could not get IHTMLDocument5, probably too old IE
\n
"
);
IHTMLDocument2_Release
(
doc
);
return
NULL
;
}
IHTMLDocument5_Release
(
doc5
);
return
doc
;
}
...
...
@@ -3645,6 +3654,9 @@ static void run_domtest(const char *str, domtest_t test)
HRESULT
hres
;
doc
=
create_doc_with_string
(
str
);
if
(
!
doc
)
return
;
do_advise
((
IUnknown
*
)
doc
,
&
IID_IPropertyNotifySink
,
(
IUnknown
*
)
&
PropertyNotifySink
);
while
(
!
doc_complete
&&
GetMessage
(
&
msg
,
NULL
,
0
,
0
))
{
...
...
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