Added responseType and response properties to XMLHTTPRequest.

This commit is contained in:
Steve Hannah 2015-02-18 15:48:03 -08:00
parent 9300c07daf
commit c2864de3ca

View File

@ -64,9 +64,18 @@ public interface XMLHttpRequest extends JSObject {
@JSProperty @JSProperty
Document getResponseXML(); Document getResponseXML();
@JSProperty
JSObject getResponse();
@JSProperty @JSProperty
int getStatus(); int getStatus();
@JSProperty @JSProperty
String getStatusText(); String getStatusText();
@JSProperty
void setResponseType(String type);
@JSProperty
String getResponseType();
} }