diff --git a/teavm-dom/src/main/java/org/teavm/dom/ajax/XMLHttpRequest.java b/teavm-dom/src/main/java/org/teavm/dom/ajax/XMLHttpRequest.java index a651390ba..b368f70a8 100644 --- a/teavm-dom/src/main/java/org/teavm/dom/ajax/XMLHttpRequest.java +++ b/teavm-dom/src/main/java/org/teavm/dom/ajax/XMLHttpRequest.java @@ -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(); }