msxml3/tests: Fix failure and crash on win9x.
This commit is contained in:
parent
acfb6ea210
commit
50840ec3be
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue