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
Document getResponseXML();
@JSProperty
JSObject getResponse();
@JSProperty
int getStatus();
@JSProperty
String getStatusText();
@JSProperty
void setResponseType(String type);
@JSProperty
String getResponseType();
}