Reference Index > Browser Objects
from https://xhr.spec.whatwg.org/#interface-xmlhttprequestinterface XMLHttpRequest {attribute EventHandler onreadystatechange; const unsigned short UNSENT = 0; const unsigned short OPENED = 1; const unsigned short HEADERS_RECEIVED = 2; const unsigned short LOADING = 3; const unsigned short DONE = 4;readonly attribute unsigned short readyState; void open(ByteString method, USVString url); void open(ByteString method, USVString url, boolean async, optional USVString? username = null, optional USVString? password = null); void setRequestHeader(ByteString name, ByteString value);attribute unsigned long timeout;attribute boolean withCredentials; [SameObject]readonly attribute XMLHttpRequestUpload upload; void send(optional (Document or BodyInit)? body = null); void abort();readonly attribute USVString responseURL;readonly attribute unsigned short status;readonly attribute ByteString statusText; ByteString? getResponseHeader(ByteString name); ByteString getAllResponseHeaders(); void overrideMimeType(DOMString mime);attribute XMLHttpRequestResponseType responseType;readonly attribute any response;readonly attribute USVString responseText; [Exposed=Window]readonly attribute Document? responseXML; };
from https://xhr.spec.whatwg.org/#interface-xmlhttprequestinterface XMLHttpRequestEventTarget {attribute EventHandler onloadstart;attribute EventHandler onprogress;attribute EventHandler onabort;attribute EventHandler onerror;attribute EventHandler onload;attribute EventHandler ontimeout;attribute EventHandler onloadend; };
};interface XMLHttpRequestUpload { };
Function | Implementation status |
open | Complete |
setRequestHeader | Complete |
send | Complete |
abort | Unknown/Unspecified |
getResponseHeader | Complete |
getAllResponseHeaders | Complete |
overrideMimeType | Dummy |
Device type | Support Status |
Desktop PC browsers | Yes |
HBBTV 1.5 devices | Yes |
HBBTV 2.0.x devices | Yes |
This page has been generated automatically from source code by the CoyoteBrowser InfoTool on Tue Jan 05 16:54:08 2021 . Some design elements from MDN are used under CC-BY-SA license from "Mozilla Contributors".