| OLD | NEW |
| 1 | 1 |
| 2 // This file introduces / supplements and forces Dart declarations. | 2 // This file introduces / supplements and forces Dart declarations. |
| 3 | 3 |
| 4 module default { | 4 module default { |
| 5 FileList implements sequence<File>; | 5 FileList implements sequence<File>; |
| 6 HTMLCollection implements sequence<Node>; | 6 HTMLCollection implements sequence<Node>; |
| 7 MediaList implements sequence<DOMString>; | 7 MediaList implements sequence<DOMString>; |
| 8 NamedNodeMap implements sequence<Node>; | 8 NamedNodeMap implements sequence<Node>; |
| 9 NodeList implements sequence<Node>; | 9 NodeList implements sequence<Node>; |
| 10 StyleSheetList implements sequence<StyleSheet>; | 10 StyleSheetList implements sequence<StyleSheet>; |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 | 295 |
| 296 module storage { | 296 module storage { |
| 297 [Supplemental] | 297 [Supplemental] |
| 298 interface SQLResultSetRowList { | 298 interface SQLResultSetRowList { |
| 299 // Change the return type to Dictionary so that rows are exposed in the Dart | 299 // Change the return type to Dictionary so that rows are exposed in the Dart |
| 300 // API as a Maps, with the appropriate conversion in JavaScript. | 300 // API as a Maps, with the appropriate conversion in JavaScript. |
| 301 [Suppressed] DOMObject item(in unsigned long index); | 301 [Suppressed] DOMObject item(in unsigned long index); |
| 302 [Custom] Dictionary item(in unsigned long index); | 302 [Custom] Dictionary item(in unsigned long index); |
| 303 }; | 303 }; |
| 304 } | 304 } |
| 305 |
| 306 module websockets { |
| 307 [Supplemental] |
| 308 interface WebSocket { |
| 309 // Suppress the default since it has non-standard return type and add |
| 310 // overrides. |
| 311 [Suppressed] boolean send(in DOMString data) raises(DOMException); |
| 312 [Custom] void send(DOMString data) raises(DOMException); |
| 313 [Custom] void send(Blob data) raises(DOMException); |
| 314 [Custom] void send(ArrayBuffer data) raises(DOMException); |
| 315 [Custom] void send(ArrayBufferView data) raises(DOMException); |
| 316 }; |
| 317 } |
| 318 |
| OLD | NEW |