Merge pull request #62 from shannah/async

Added responseType and response properties to XMLHTTPRequest.
This commit is contained in:
Alexey Andreev 2015-02-20 20:04:24 +03:00
commit 123aac84fa

View File

@ -63,10 +63,19 @@ 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();
} }