Lines Matching refs:responseType
212 // If it is text/html, then the responseType of "document" must have been supplied explicitly.
286 void XMLHttpRequest::setResponseType(const String& responseType, ExceptionCode& ec)
294 // attempt to discourage synchronous XHR use. responseType is one such piece of functionality.
298 logConsoleError(scriptExecutionContext(), "XMLHttpRequest.responseType cannot be changed for synchronous HTTP(S) requests made from the window context.");
303 if (responseType == "")
305 else if (responseType == "text")
307 else if (responseType == "json")
309 else if (responseType == "document")
311 else if (responseType == "blob")
313 else if (responseType == "arraybuffer")
319 String XMLHttpRequest::responseType()
509 // attempt to discourage synchronous XHR use. responseType is one such piece of functionality.
513 logConsoleError(scriptExecutionContext(), "Synchronous HTTP(S) requests made from the window context cannot have XMLHttpRequest.responseType set.");