Commit f1c3f7ff authored by Zhenbo Li's avatar Zhenbo Li Committed by Alexandre Julliard

mshtml/tests: Fix crash on win2000 testbot.

parent 89d0c664
......@@ -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);
......
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