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
157b1f69
Commit
157b1f69
authored
Jan 05, 2010
by
Paul Vriens
Committed by
Alexandre Julliard
Jan 05, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml/tests: Fix a test failure on NT4.
parent
a95e0708
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
dom.c
dlls/mshtml/tests/dom.c
+4
-2
No files found.
dlls/mshtml/tests/dom.c
View file @
157b1f69
...
@@ -2130,7 +2130,8 @@ static void _test_elem_filters(unsigned line, IUnknown *unk)
...
@@ -2130,7 +2130,8 @@ static void _test_elem_filters(unsigned line, IUnknown *unk)
IHTMLFiltersCollection
*
filters
;
IHTMLFiltersCollection
*
filters
;
hres
=
IHTMLElement_get_filters
(
elem
,
&
filters
);
hres
=
IHTMLElement_get_filters
(
elem
,
&
filters
);
ok_
(
__FILE__
,
line
)
(
hres
==
S_OK
,
"get_filters failed: %08x
\n
"
,
hres
);
ok_
(
__FILE__
,
line
)
(
hres
==
S_OK
||
broken
(
hres
==
REGDB_E_CLASSNOTREG
)
/* NT4 */
,
"get_filters failed: %08x
\n
"
,
hres
);
if
(
hres
==
S_OK
)
if
(
hres
==
S_OK
)
{
{
LONG
len
;
LONG
len
;
...
@@ -2141,7 +2142,8 @@ static void _test_elem_filters(unsigned line, IUnknown *unk)
...
@@ -2141,7 +2142,8 @@ static void _test_elem_filters(unsigned line, IUnknown *unk)
ok_
(
__FILE__
,
line
)
(
len
==
0
,
"expect 0 got %d
\n
"
,
len
);
ok_
(
__FILE__
,
line
)
(
len
==
0
,
"expect 0 got %d
\n
"
,
len
);
hres
=
IHTMLFiltersCollection_QueryInterface
(
filters
,
&
IID_IDispatchEx
,
(
void
**
)
&
dispex
);
hres
=
IHTMLFiltersCollection_QueryInterface
(
filters
,
&
IID_IDispatchEx
,
(
void
**
)
&
dispex
);
ok
(
hres
==
S_OK
||
broken
(
hres
==
E_NOINTERFACE
),
"Could not get IDispatchEx interface: %08x
\n
"
,
hres
);
ok_
(
__FILE__
,
line
)
(
hres
==
S_OK
||
broken
(
hres
==
E_NOINTERFACE
),
"Could not get IDispatchEx interface: %08x
\n
"
,
hres
);
if
(
SUCCEEDED
(
hres
))
{
if
(
SUCCEEDED
(
hres
))
{
test_disp
((
IUnknown
*
)
filters
,
&
IID_IHTMLFiltersCollection
,
"[object]"
);
test_disp
((
IUnknown
*
)
filters
,
&
IID_IHTMLFiltersCollection
,
"[object]"
);
IDispatchEx_Release
(
dispex
);
IDispatchEx_Release
(
dispex
);
...
...
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