mshtml/tests: Fix crash on win2000 testbot.
This commit is contained in:
parent
89d0c66461
commit
f1c3f7ff1c
|
@ -805,6 +805,9 @@ static void test_async_xhr_abort(IHTMLDocument2 *doc, const char *xml_url)
|
|||
|
||||
trace("abort before send() is fired\n");
|
||||
create_xmlhttprequest(doc);
|
||||
if(!xhr)
|
||||
return;
|
||||
|
||||
V_VT(&var) = VT_DISPATCH;
|
||||
V_DISPATCH(&var) = (IDispatch*)&xmlhttprequest_onreadystatechange_obj;
|
||||
hres = IHTMLXMLHttpRequest_put_onreadystatechange(xhr, var);
|
||||
|
|
Loading…
Reference in New Issue