Home | History | Annotate | Download | only in xml

Lines Matching refs:responseType

221         exceptionState.throwDOMException(InvalidStateError, "The value is only accessible if the object's 'responseType' is '' or 'text' (was '" + responseType() + "').");
241 exceptionState.throwDOMException(InvalidStateError, "The value is only accessible if the object's 'responseType' is '' or 'document' (was '" + responseType() + "').");
253 // If it is text/html, then the responseType of "document" must have been supplied explicitly.
288 // When responseType is set to "blob", we redirect the downloaded data
352 void XMLHttpRequest::setResponseType(const String& responseType, ExceptionState& exceptionState)
360 // attempt to discourage synchronous XHR use. responseType is one such piece of functionality.
366 if (responseType == "") {
368 } else if (responseType == "text") {
370 } else if (responseType == "json") {
372 } else if (responseType == "document") {
374 } else if (responseType == "blob") {
376 } else if (responseType == "arraybuffer") {
378 } else if (responseType == "stream") {
388 String XMLHttpRequest::responseType()
587 // attempt to discourage synchronous XHR use. responseType is one such piece of functionality.
874 // When responseType is set to "blob", we redirect the downloaded data to a