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
294fe6b6
Commit
294fe6b6
authored
Jun 10, 2008
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Jun 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Stop test crash on error condition.
parent
996e5d62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
dom.c
dlls/mshtml/tests/dom.c
+4
-0
No files found.
dlls/mshtml/tests/dom.c
View file @
294fe6b6
...
...
@@ -885,6 +885,9 @@ static void test_elem_col_item(IHTMLElementCollection *col, LPCWSTR n,
hres
=
IDispatch_QueryInterface
(
disp
,
&
IID_IHTMLElementCollection
,
(
void
**
)
&
elcol
);
IDispatch_Release
(
disp
);
ok
(
hres
==
S_OK
,
"Could not get IHTMLElementCollection interface: %08x
\n
"
,
hres
);
if
(
hres
!=
S_OK
)
goto
cleanup
;
test_elem_collection
(
elcol
,
elem_types
,
len
);
IHTMLElementCollection_Release
(
elcol
);
...
...
@@ -916,6 +919,7 @@ static void test_elem_col_item(IHTMLElementCollection *col, LPCWSTR n,
ok
(
hres
==
E_INVALIDARG
,
"item failed: %08x, expected E_INVALIDARG
\n
"
,
hres
);
ok
(
disp
==
NULL
,
"disp != NULL
\n
"
);
cleanup:
SysFreeString
(
V_BSTR
(
&
name
));
}
...
...
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