| 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 NamedNodeMap implements sequence<Node>; | 5 NamedNodeMap implements sequence<Node>; |
| 6 NodeList implements sequence<Node>; | 6 NodeList implements sequence<Node>; |
| 7 HTMLCollection implements sequence<Node>; | 7 HTMLCollection implements sequence<Node>; |
| 8 MediaList implements sequence<DOMString>; | 8 MediaList implements sequence<DOMString>; |
| 9 StyleSheetList implements sequence<StyleSheet>; | 9 StyleSheetList implements sequence<StyleSheet>; |
| 10 TouchList implements sequence<Touch>; | 10 TouchList implements sequence<Touch>; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 interface ElementTraversal { | 25 interface ElementTraversal { |
| 26 getter attribute unsigned long childElementCount; | 26 getter attribute unsigned long childElementCount; |
| 27 getter attribute Element firstElementChild; | 27 getter attribute Element firstElementChild; |
| 28 getter attribute Element lastElementChild; | 28 getter attribute Element lastElementChild; |
| 29 getter attribute Element nextElementSibling; | 29 getter attribute Element nextElementSibling; |
| 30 getter attribute Element previousElementSibling; | 30 getter attribute Element previousElementSibling; |
| 31 }; | 31 }; |
| 32 Element implements ElementTraversal; | 32 Element implements ElementTraversal; |
| 33 }; | 33 }; |
| 34 | 34 |
| 35 module window { | |
| 36 [Supplemental] | |
| 37 interface Window { | |
| 38 // Provide a different signature for postMessage. Because one of the | |
| 39 // desired signatures conflicts with an existing option, it is simpler to | |
| 40 // completely suppress postMessage and introduce a new | |
| 41 // postMessage_replacement that is renamed as postMessage. | |
| 42 [Suppressed] void postMessage(in SerializedScriptValue message, [Optional] i
n MessagePort messagePort, in DOMString targetOrigin) | |
| 43 raises(DOMException); | |
| 44 | |
| 45 [DartName=postMessage, ImplementationFunction=postMessage] | |
| 46 void postMessage_replacement(in SerializedScriptValue message, in DOMString
targetOrigin) | |
| 47 raises(DOMException); | |
| 48 [DartName=postMessage, ImplementationFunction=postMessage] | |
| 49 void postMessage_replacement(in SerializedScriptValue message, in MessagePor
t messagePort, in DOMString targetOrigin) | |
| 50 raises(DOMException); | |
| 51 | |
| 52 }; | |
| 53 }; | |
| 54 | |
| 55 module html { | 35 module html { |
| 56 [Supplemental] | 36 [Supplemental] |
| 57 interface Console { | 37 interface Console { |
| 58 [Suppressed] void debug(); | 38 [Suppressed] void debug(); |
| 59 void debug(DOMObject arg); | 39 void debug(DOMObject arg); |
| 60 [Suppressed] void error(); | 40 [Suppressed] void error(); |
| 61 void error(DOMObject arg); | 41 void error(DOMObject arg); |
| 62 [Suppressed] void info(); | 42 [Suppressed] void info(); |
| 63 void info(DOMObject arg); | 43 void info(DOMObject arg); |
| 64 [Suppressed] void log(); | 44 [Suppressed] void log(); |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 }; | 111 }; |
| 132 [Supplemental] | 112 [Supplemental] |
| 133 interface IDBIndex { | 113 interface IDBIndex { |
| 134 [DartName=getObject] IDBRequest get(in IDBKey key); | 114 [DartName=getObject] IDBRequest get(in IDBKey key); |
| 135 }; | 115 }; |
| 136 [Supplemental] | 116 [Supplemental] |
| 137 interface IDBObjectStore { | 117 interface IDBObjectStore { |
| 138 [DartName=getObject] IDBRequest get(in IDBKey key); | 118 [DartName=getObject] IDBRequest get(in IDBKey key); |
| 139 }; | 119 }; |
| 140 }; | 120 }; |
| OLD | NEW |