| OLD | NEW |
| 1 | 1 |
| 2 class _XMLHttpRequestJs extends _DOMTypeJs implements XMLHttpRequest native "*XM
LHttpRequest" { | 2 class _XMLHttpRequestJs extends _EventTargetJs implements XMLHttpRequest native
"*XMLHttpRequest" { |
| 3 | 3 |
| 4 static final int DONE = 4; | 4 static final int DONE = 4; |
| 5 | 5 |
| 6 static final int HEADERS_RECEIVED = 2; | 6 static final int HEADERS_RECEIVED = 2; |
| 7 | 7 |
| 8 static final int LOADING = 3; | 8 static final int LOADING = 3; |
| 9 | 9 |
| 10 static final int OPENED = 1; | 10 static final int OPENED = 1; |
| 11 | 11 |
| 12 static final int UNSENT = 0; | 12 static final int UNSENT = 0; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 void open(String method, String url, [bool async = null, String user = null, S
tring password = null]) native; | 46 void open(String method, String url, [bool async = null, String user = null, S
tring password = null]) native; |
| 47 | 47 |
| 48 void overrideMimeType(String override) native; | 48 void overrideMimeType(String override) native; |
| 49 | 49 |
| 50 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 50 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 51 | 51 |
| 52 void send([var data = null]) native; | 52 void send([var data = null]) native; |
| 53 | 53 |
| 54 void setRequestHeader(String header, String value) native; | 54 void setRequestHeader(String header, String value) native; |
| 55 } | 55 } |
| OLD | NEW |