Merge pull request #143 from mpoindexter/master-add-xmlhttprequest-getheader

Add getHeader to XmlHttpRequest
This commit is contained in:
Alexey Andreev 2015-07-21 07:26:21 +03:00
commit fa79992b44

View File

@ -50,6 +50,8 @@ public interface XMLHttpRequest extends JSObject {
String getAllResponseHeaders(); String getAllResponseHeaders();
String getResponseHeader(String name);
@JSProperty("onreadystatechange") @JSProperty("onreadystatechange")
void setOnReadyStateChange(ReadyStateChangeHandler handler); void setOnReadyStateChange(ReadyStateChangeHandler handler);