Commit 6a90c589 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

msxml3: Stopped tests from crashing and a Win98 fix.

parent 3c1c6172
......@@ -477,10 +477,6 @@ static void test_domdoc( void )
ok( b == VARIANT_TRUE, "failed to load XML string\n");
SysFreeString( str );
/* try with a null out pointer */
r = IXMLDOMDocument_get_documentElement( doc, NULL );
ok( r == E_INVALIDARG, "should be no document element\n");
/* check if nodename is correct */
r = IXMLDOMDocument_get_nodeName( doc, NULL );
ok ( r == E_INVALIDARG, "get_nodeName (NULL) wrong code\n");
......@@ -937,7 +933,7 @@ static void test_domnode( void )
V_I4(&var) = 0x1234;
r = IXMLDOMElement_getAttribute( element, str, &var );
ok( r == E_FAIL, "getAttribute ret %08x\n", r );
ok( V_VT(&var) == VT_NULL, "vt = %x\n", V_VT(&var));
ok( V_VT(&var) == VT_NULL || V_VT(&var) == VT_EMPTY, "vt = %x\n", V_VT(&var));
VariantClear(&var);
SysFreeString( str );
......
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