Commit a9fc71b4 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msxml3: Support comment node type in IXMLDOMNode_get_baseName.

parent c71ffcf4
......@@ -1626,6 +1626,7 @@ static HRESULT WINAPI xmlnode_get_baseName(
r = S_OK;
break;
case XML_TEXT_NODE:
case XML_COMMENT_NODE:
break;
default:
ERR("Unhandled type %d\n", This->node->type );
......
......@@ -982,6 +982,12 @@ static void test_domdoc( void )
ok(r == S_FALSE, "ret %08x\n", r );
ok(nodeChild == NULL, "pLastChild not NULL\n");
/* baseName */
str = (BSTR)0xdeadbeef;
IXMLDOMComment_get_baseName(node_comment, &str);
ok(r == S_FALSE, "ret %08x\n", r );
ok(str == NULL, "Expected NULL\n");
IXMLDOMComment_Release( node_comment );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment