Bug 680816: XHR cannot be reused with responseType='arraybuffer'. r=sicking

This commit is contained in:
Kyle Huey 2011-08-24 11:31:29 -04:00
parent b97c2366d4
commit 278b4062fd

View File

@ -1728,6 +1728,7 @@ nsXMLHttpRequest::OnStartRequest(nsIRequest *request, nsISupports *ctxt)
mResponseBody.Truncate();
mResponseBodyUnicode.SetIsVoid(PR_TRUE);
mResponseBlob = nsnull;
mResultArrayBuffer = nsnull;
// Set up responseXML
PRBool parseBody = mResponseType == XML_HTTP_RESPONSE_TYPE_DEFAULT ||