Commit 50840ec3 authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

msxml3/tests: Fix failure and crash on win9x.

parent acfb6ea2
......@@ -1157,7 +1157,7 @@ todo_wine
if (list)
{
r = IXMLDOMNodeList_QueryInterface(list, &IID_IDispatch, NULL);
ok( r == E_INVALIDARG, "ret %08x\n", r );
ok( r == E_INVALIDARG || r == E_POINTER, "ret %08x\n", r );
r = IXMLDOMNodeList_get_item(list, 0, NULL);
ok(r == E_INVALIDARG, "Exected E_INVALIDARG got %08x\n", r);
......@@ -1597,8 +1597,11 @@ static void test_get_text(void)
ok( r == S_OK, "ret %08x\n", r );
SysFreeString(str);
if (0) {
/* this test crashes on win9x */
r = IXMLDOMNodeList_QueryInterface(node_list, &IID_IDispatch, NULL);
ok( r == E_INVALIDARG, "ret %08x\n", r );
}
r = IXMLDOMNodeList_get_length( node_list, NULL );
ok( r == E_INVALIDARG, "ret %08x\n", r );
......
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