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
afc7773d
Commit
afc7773d
authored
Mar 26, 2010
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 26, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Skip script tests on too old IE.
parent
226a5019
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
script.c
dlls/mshtml/tests/script.c
+9
-0
No files found.
dlls/mshtml/tests/script.c
View file @
afc7773d
...
...
@@ -1050,12 +1050,21 @@ static HRESULT QueryInterface(REFIID riid, void **ppv)
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
;
}
...
...
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