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
30351482
Commit
30351482
authored
Oct 05, 2008
by
Michael Karcher
Committed by
Alexandre Julliard
Oct 06, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Fail a bit earlier on removeChild(...,NULL,...).
parent
75606f35
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
node.c
dlls/msxml3/node.c
+2
-2
domdoc.c
dlls/msxml3/tests/domdoc.c
+1
-1
No files found.
dlls/msxml3/node.c
View file @
30351482
...
...
@@ -625,11 +625,11 @@ static HRESULT WINAPI xmlnode_removeChild(
TRACE
(
"%p->(%p, %p)
\n
"
,
This
,
childNode
,
oldChild
);
if
(
!
childNode
)
return
E_INVALIDARG
;
if
(
oldChild
)
*
oldChild
=
NULL
;
if
(
!
childNode
)
return
E_INVALIDARG
;
hr
=
IXMLDOMNode_QueryInterface
(
childNode
,
&
IID_IXMLDOMNode
,
(
LPVOID
)
&
child
);
if
(
FAILED
(
hr
))
return
hr
;
...
...
dlls/msxml3/tests/domdoc.c
View file @
30351482
...
...
@@ -1792,7 +1792,7 @@ static void test_removeChild(void)
removed_node
=
(
void
*
)
0xdeadbeef
;
r
=
IXMLDOMElement_removeChild
(
element
,
NULL
,
&
removed_node
);
ok
(
r
==
E_INVALIDARG
,
"ret %08x
\n
"
,
r
);
todo_wine
ok
(
removed_node
==
(
void
*
)
0xdeadbeef
,
"%p
\n
"
,
removed_node
);
ok
(
removed_node
==
(
void
*
)
0xdeadbeef
,
"%p
\n
"
,
removed_node
);
/* ba_node is a descendant of element, but not a direct child. */
removed_node
=
(
void
*
)
0xdeadbeef
;
...
...
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