| OLD | NEW |
| 1 | 1 |
| 2 class XMLHttpRequest native "*XMLHttpRequest" { | 2 class XMLHttpRequest native "*XMLHttpRequest" { |
| 3 XMLHttpRequest() native; | 3 XMLHttpRequest() native; |
| 4 | 4 |
| 5 | 5 |
| 6 static final int DONE = 4; |
| 7 |
| 8 static final int HEADERS_RECEIVED = 2; |
| 9 |
| 10 static final int LOADING = 3; |
| 11 |
| 12 static final int OPENED = 1; |
| 13 |
| 14 static final int UNSENT = 0; |
| 15 |
| 6 bool asBlob; | 16 bool asBlob; |
| 7 | 17 |
| 8 int readyState; | 18 int readyState; |
| 9 | 19 |
| 10 Blob responseBlob; | 20 Blob responseBlob; |
| 11 | 21 |
| 12 String responseText; | 22 String responseText; |
| 13 | 23 |
| 14 String responseType; | 24 String responseType; |
| 15 | 25 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 40 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 50 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 41 | 51 |
| 42 void send([var data = null]) native; | 52 void send([var data = null]) native; |
| 43 | 53 |
| 44 void setRequestHeader(String header, String value) native; | 54 void setRequestHeader(String header, String value) native; |
| 45 | 55 |
| 46 var dartObjectLocalStorage; | 56 var dartObjectLocalStorage; |
| 47 | 57 |
| 48 String get typeName() native; | 58 String get typeName() native; |
| 49 } | 59 } |
| OLD | NEW |