| Index: lib/html/dart2js/html_dart2js.dart
|
| ===================================================================
|
| --- lib/html/dart2js/html_dart2js.dart (revision 12809)
|
| +++ lib/html/dart2js/html_dart2js.dart (working copy)
|
| @@ -1836,7 +1836,7 @@
|
| abstract class CSSKeyframesRule implements CSSRule {
|
|
|
| /** @domName WebKitCSSKeyframesRule.cssRules */
|
| - abstract List<CSSRule> get cssRules;
|
| + abstract CSSRuleList get cssRules;
|
|
|
| /** @domName WebKitCSSKeyframesRule.name */
|
| String name;
|
| @@ -2052,7 +2052,7 @@
|
| abstract class CSSMediaRule implements CSSRule {
|
|
|
| /** @domName CSSMediaRule.cssRules */
|
| - abstract List<CSSRule> get cssRules;
|
| + abstract CSSRuleList get cssRules;
|
|
|
| /** @domName CSSMediaRule.media */
|
| abstract MediaList get media;
|
| @@ -2332,9 +2332,24 @@
|
|
|
| final int type;
|
| }
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _CSSRuleListImpl implements List<CSSRule>, JavaScriptIndexingBehavior native "*CSSRuleList" {
|
| +// WARNING: Do not edit - generated code.
|
|
|
| +/// @domName CSSRuleList
|
| +abstract class CSSRuleList implements List<CSSRule> {
|
| +
|
| + /** @domName CSSRuleList.length */
|
| + abstract int get length;
|
| +
|
| + /** @domName CSSRuleList.item */
|
| + CSSRule item(int index);
|
| +}
|
| +
|
| +class _CSSRuleListImpl implements CSSRuleList, JavaScriptIndexingBehavior native "*CSSRuleList" {
|
| +
|
| final int length;
|
|
|
| _CSSRuleImpl operator[](int index) native "return this[index];";
|
| @@ -2401,6 +2416,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<CSSRule> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -7157,13 +7173,13 @@
|
| abstract class CSSStyleSheet implements StyleSheet {
|
|
|
| /** @domName CSSStyleSheet.cssRules */
|
| - abstract List<CSSRule> get cssRules;
|
| + abstract CSSRuleList get cssRules;
|
|
|
| /** @domName CSSStyleSheet.ownerRule */
|
| abstract CSSRule get ownerRule;
|
|
|
| /** @domName CSSStyleSheet.rules */
|
| - abstract List<CSSRule> get rules;
|
| + abstract CSSRuleList get rules;
|
|
|
| /** @domName CSSStyleSheet.addRule */
|
| int addRule(String selector, String style, [int index]);
|
| @@ -7201,7 +7217,7 @@
|
| // WARNING: Do not edit - generated code.
|
|
|
| /// @domName WebKitCSSTransformValue
|
| -abstract class CSSTransformValue implements List<CSSValue> {
|
| +abstract class CSSTransformValue implements CSSValueList {
|
|
|
| static const int CSS_MATRIX = 11;
|
|
|
| @@ -7345,9 +7361,24 @@
|
|
|
| final int cssValueType;
|
| }
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _CSSValueListImpl extends _CSSValueImpl implements List<CSSValue>, JavaScriptIndexingBehavior native "*CSSValueList" {
|
| +// WARNING: Do not edit - generated code.
|
|
|
| +/// @domName CSSValueList
|
| +abstract class CSSValueList implements CSSValue, List<CSSValue> {
|
| +
|
| + /** @domName CSSValueList.length */
|
| + abstract int get length;
|
| +
|
| + /** @domName CSSValueList.item */
|
| + CSSValue item(int index);
|
| +}
|
| +
|
| +class _CSSValueListImpl extends _CSSValueImpl implements CSSValueList, JavaScriptIndexingBehavior native "*CSSValueList" {
|
| +
|
| final int length;
|
|
|
| _CSSValueImpl operator[](int index) native "return this[index];";
|
| @@ -7414,6 +7445,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<CSSValue> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -8014,9 +8046,24 @@
|
|
|
| final num width;
|
| }
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _ClientRectListImpl implements List<ClientRect>, JavaScriptIndexingBehavior native "*ClientRectList" {
|
| +// WARNING: Do not edit - generated code.
|
|
|
| +/// @domName ClientRectList
|
| +abstract class ClientRectList implements List<ClientRect> {
|
| +
|
| + /** @domName ClientRectList.length */
|
| + abstract int get length;
|
| +
|
| + /** @domName ClientRectList.item */
|
| + ClientRect item(int index);
|
| +}
|
| +
|
| +class _ClientRectListImpl implements ClientRectList, JavaScriptIndexingBehavior native "*ClientRectList" {
|
| +
|
| final int length;
|
|
|
| _ClientRectImpl operator[](int index) native "return this[index];";
|
| @@ -8083,6 +8130,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<ClientRect> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -8118,7 +8166,7 @@
|
| String effectAllowed;
|
|
|
| /** @domName Clipboard.files */
|
| - abstract List<File> get files;
|
| + abstract FileList get files;
|
|
|
| /** @domName Clipboard.items */
|
| abstract DataTransferItemList get items;
|
| @@ -8971,6 +9019,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<DOMMimeType> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -9139,6 +9188,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<DOMPlugin> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -9423,6 +9473,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<String> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -10071,7 +10122,7 @@
|
| abstract class DirectoryReaderSync {
|
|
|
| /** @domName DirectoryReaderSync.readEntries */
|
| - List<EntrySync> readEntries();
|
| + EntryArraySync readEntries();
|
| }
|
|
|
| class _DirectoryReaderSyncImpl implements DirectoryReaderSync native "*DirectoryReaderSync" {
|
| @@ -10153,7 +10204,7 @@
|
| String selectedStylesheetSet;
|
|
|
| /** @domName Document.styleSheets */
|
| - abstract List<StyleSheet> get styleSheets;
|
| + abstract StyleSheetList get styleSheets;
|
|
|
| /** @domName Document.title */
|
| String title;
|
| @@ -11385,7 +11436,7 @@
|
| ClientRect $dom_getBoundingClientRect();
|
|
|
| /** @domName Element.getClientRects */
|
| - List<ClientRect> $dom_getClientRects();
|
| + ClientRectList $dom_getClientRects();
|
|
|
| /** @domName Element.getElementsByClassName */
|
| NodeList $dom_getElementsByClassName(String name);
|
| @@ -12756,7 +12807,7 @@
|
|
|
| // WARNING: Do not edit - generated code.
|
|
|
| -typedef bool EntriesCallback(List<Entry> entries);
|
| +typedef bool EntriesCallback(EntryArray entries);
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
| @@ -12799,9 +12850,24 @@
|
| /** @domName Entry.toURL */
|
| String toURL();
|
| }
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _EntryArrayImpl implements List<Entry>, JavaScriptIndexingBehavior native "*EntryArray" {
|
| +// WARNING: Do not edit - generated code.
|
|
|
| +/// @domName EntryArray
|
| +abstract class EntryArray implements List<Entry> {
|
| +
|
| + /** @domName EntryArray.length */
|
| + abstract int get length;
|
| +
|
| + /** @domName EntryArray.item */
|
| + Entry item(int index);
|
| +}
|
| +
|
| +class _EntryArrayImpl implements EntryArray, JavaScriptIndexingBehavior native "*EntryArray" {
|
| +
|
| final int length;
|
|
|
| _EntryImpl operator[](int index) native "return this[index];";
|
| @@ -12868,6 +12934,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<Entry> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -12887,9 +12954,24 @@
|
|
|
| _EntryImpl item(int index) native;
|
| }
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _EntryArraySyncImpl implements List<EntrySync>, JavaScriptIndexingBehavior native "*EntryArraySync" {
|
| +// WARNING: Do not edit - generated code.
|
|
|
| +/// @domName EntryArraySync
|
| +abstract class EntryArraySync implements List<EntrySync> {
|
| +
|
| + /** @domName EntryArraySync.length */
|
| + abstract int get length;
|
| +
|
| + /** @domName EntryArraySync.item */
|
| + EntrySync item(int index);
|
| +}
|
| +
|
| +class _EntryArraySyncImpl implements EntryArraySync, JavaScriptIndexingBehavior native "*EntryArraySync" {
|
| +
|
| final int length;
|
|
|
| _EntrySyncImpl operator[](int index) native "return this[index];";
|
| @@ -12956,6 +13038,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<EntrySync> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -13805,9 +13888,24 @@
|
|
|
| final String webkitRelativePath;
|
| }
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _FileListImpl implements List<File>, JavaScriptIndexingBehavior native "*FileList" {
|
| +// WARNING: Do not edit - generated code.
|
|
|
| +/// @domName FileList
|
| +abstract class FileList implements List<File> {
|
| +
|
| + /** @domName FileList.length */
|
| + abstract int get length;
|
| +
|
| + /** @domName FileList.item */
|
| + File item(int index);
|
| +}
|
| +
|
| +class _FileListImpl implements FileList, JavaScriptIndexingBehavior native "*FileList" {
|
| +
|
| final int length;
|
|
|
| _FileImpl operator[](int index) native "return this[index];";
|
| @@ -13874,6 +13972,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<File> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -14314,6 +14413,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<num> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -14433,6 +14533,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<num> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -14792,9 +14893,24 @@
|
|
|
| final int timestamp;
|
| }
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _GamepadListImpl implements List<Gamepad>, JavaScriptIndexingBehavior native "*GamepadList" {
|
| +// WARNING: Do not edit - generated code.
|
|
|
| +/// @domName GamepadList
|
| +abstract class GamepadList implements List<Gamepad> {
|
| +
|
| + /** @domName GamepadList.length */
|
| + abstract int get length;
|
| +
|
| + /** @domName GamepadList.item */
|
| + Gamepad item(int index);
|
| +}
|
| +
|
| +class _GamepadListImpl implements GamepadList, JavaScriptIndexingBehavior native "*GamepadList" {
|
| +
|
| final int length;
|
|
|
| _GamepadImpl operator[](int index) native "return this[index];";
|
| @@ -14861,6 +14977,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<Gamepad> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -15053,6 +15170,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<Node> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -15163,6 +15281,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<Node> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -17148,7 +17267,7 @@
|
| bool disabled;
|
|
|
| /** @domName HTMLInputElement.files */
|
| - List<File> files;
|
| + FileList files;
|
|
|
| /** @domName HTMLInputElement.form */
|
| abstract FormElement get form;
|
| @@ -17250,7 +17369,7 @@
|
| num valueAsNumber;
|
|
|
| /** @domName HTMLInputElement.webkitEntries */
|
| - abstract List<Entry> get webkitEntries;
|
| + abstract EntryArray get webkitEntries;
|
|
|
| /** @domName HTMLInputElement.webkitGrammar */
|
| bool webkitGrammar;
|
| @@ -17510,6 +17629,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<int> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -17629,6 +17749,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<int> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -17748,6 +17869,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<int> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -18986,7 +19108,7 @@
|
| // WARNING: Do not edit - generated code.
|
|
|
| /// @domName MediaList
|
| -abstract class MediaList {
|
| +abstract class MediaList implements List<String> {
|
|
|
| /** @domName MediaList.length */
|
| abstract int get length;
|
| @@ -19004,12 +19126,94 @@
|
| String item(int index);
|
| }
|
|
|
| -class _MediaListImpl implements MediaList native "*MediaList" {
|
| +class _MediaListImpl implements MediaList, JavaScriptIndexingBehavior native "*MediaList" {
|
|
|
| final int length;
|
|
|
| String mediaText;
|
|
|
| + String operator[](int index) native "return this[index];";
|
| +
|
| + void operator[]=(int index, String value) {
|
| + throw new UnsupportedOperationException("Cannot assign element of immutable List.");
|
| + }
|
| + // -- start List<String> mixins.
|
| + // String is the element type.
|
| +
|
| + // From Iterable<String>:
|
| +
|
| + Iterator<String> iterator() {
|
| + // Note: NodeLists are not fixed size. And most probably length shouldn't
|
| + // be cached in both iterator _and_ forEach method. For now caching it
|
| + // for consistency.
|
| + return new _FixedSizeListIterator<String>(this);
|
| + }
|
| +
|
| + // From Collection<String>:
|
| +
|
| + void add(String value) {
|
| + throw const UnsupportedOperationException("Cannot add to immutable List.");
|
| + }
|
| +
|
| + void addLast(String value) {
|
| + throw const UnsupportedOperationException("Cannot add to immutable List.");
|
| + }
|
| +
|
| + void addAll(Collection<String> collection) {
|
| + throw const UnsupportedOperationException("Cannot add to immutable List.");
|
| + }
|
| +
|
| + void forEach(void f(String element)) => _Collections.forEach(this, f);
|
| +
|
| + Collection map(f(String element)) => _Collections.map(this, [], f);
|
| +
|
| + Collection<String> filter(bool f(String element)) =>
|
| + _Collections.filter(this, <String>[], f);
|
| +
|
| + bool every(bool f(String element)) => _Collections.every(this, f);
|
| +
|
| + bool some(bool f(String element)) => _Collections.some(this, f);
|
| +
|
| + bool isEmpty() => this.length == 0;
|
| +
|
| + // From List<String>:
|
| +
|
| + void sort(int compare(String a, String b)) {
|
| + throw const UnsupportedOperationException("Cannot sort immutable List.");
|
| + }
|
| +
|
| + int indexOf(String element, [int start = 0]) =>
|
| + _Lists.indexOf(this, element, start, this.length);
|
| +
|
| + int lastIndexOf(String element, [int start]) {
|
| + if (start === null) start = length - 1;
|
| + return _Lists.lastIndexOf(this, element, start);
|
| + }
|
| +
|
| + String last() => this[length - 1];
|
| +
|
| + String removeLast() {
|
| + throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| + }
|
| +
|
| + // FIXME: implement these.
|
| + void setRange(int start, int rangeLength, List<String> from, [int startFrom]) {
|
| + throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| + }
|
| +
|
| + void removeRange(int start, int rangeLength) {
|
| + throw const UnsupportedOperationException("Cannot removeRange on immutable List.");
|
| + }
|
| +
|
| + void insertRange(int start, int rangeLength, [String initialValue]) {
|
| + throw const UnsupportedOperationException("Cannot insertRange on immutable List.");
|
| + }
|
| +
|
| + List<String> getRange(int start, int rangeLength) =>
|
| + _Lists.getRange(this, start, rangeLength, <String>[]);
|
| +
|
| + // -- end List<String> mixins.
|
| +
|
| void appendMedium(String newMedium) native;
|
|
|
| void deleteMedium(String oldMedium) native;
|
| @@ -19234,9 +19438,24 @@
|
|
|
| EventListenerList get ended => this['ended'];
|
| }
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _MediaStreamListImpl implements List<MediaStream>, JavaScriptIndexingBehavior native "*MediaStreamList" {
|
| +// WARNING: Do not edit - generated code.
|
|
|
| +/// @domName MediaStreamList
|
| +abstract class MediaStreamList implements List<MediaStream> {
|
| +
|
| + /** @domName MediaStreamList.length */
|
| + abstract int get length;
|
| +
|
| + /** @domName MediaStreamList.item */
|
| + MediaStream item(int index);
|
| +}
|
| +
|
| +class _MediaStreamListImpl implements MediaStreamList, JavaScriptIndexingBehavior native "*MediaStreamList" {
|
| +
|
| final int length;
|
|
|
| _MediaStreamImpl operator[](int index) native "return this[index];";
|
| @@ -19303,6 +19522,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<MediaStream> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -20290,6 +20510,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<Node> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -20385,7 +20606,7 @@
|
| bool javaEnabled();
|
|
|
| /** @domName Navigator.webkitGetGamepads */
|
| - List<Gamepad> webkitGetGamepads();
|
| + GamepadList webkitGetGamepads();
|
|
|
| /** @domName Navigator.webkitGetUserMedia */
|
| void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback successCallback, [NavigatorUserMediaErrorCallback errorCallback]);
|
| @@ -21992,7 +22213,7 @@
|
| abstract SessionDescription get localDescription;
|
|
|
| /** @domName PeerConnection00.localStreams */
|
| - abstract List<MediaStream> get localStreams;
|
| + abstract MediaStreamList get localStreams;
|
|
|
| /** @domName PeerConnection00.readyState */
|
| abstract int get readyState;
|
| @@ -22001,7 +22222,7 @@
|
| abstract SessionDescription get remoteDescription;
|
|
|
| /** @domName PeerConnection00.remoteStreams */
|
| - abstract List<MediaStream> get remoteStreams;
|
| + abstract MediaStreamList get remoteStreams;
|
|
|
| /** @domName PeerConnection00.addEventListener */
|
| void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
|
| @@ -22685,7 +22906,7 @@
|
| abstract RTCSessionDescription get localDescription;
|
|
|
| /** @domName RTCPeerConnection.localStreams */
|
| - abstract List<MediaStream> get localStreams;
|
| + abstract MediaStreamList get localStreams;
|
|
|
| /** @domName RTCPeerConnection.readyState */
|
| abstract String get readyState;
|
| @@ -22694,7 +22915,7 @@
|
| abstract RTCSessionDescription get remoteDescription;
|
|
|
| /** @domName RTCPeerConnection.remoteStreams */
|
| - abstract List<MediaStream> get remoteStreams;
|
| + abstract MediaStreamList get remoteStreams;
|
|
|
| /** @domName RTCPeerConnection.addEventListener */
|
| void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
|
| @@ -22938,6 +23159,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<Node> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -23032,7 +23254,7 @@
|
| ClientRect getBoundingClientRect();
|
|
|
| /** @domName Range.getClientRects */
|
| - List<ClientRect> getClientRects();
|
| + ClientRectList getClientRects();
|
|
|
| /** @domName Range.insertNode */
|
| void insertNode(Node newNode);
|
| @@ -23938,6 +24160,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<SVGAnimatedLength> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -24063,6 +24286,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<SVGAnimatedNumber> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -24232,6 +24456,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<SVGAnimateTransformElement> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -24823,7 +25048,7 @@
|
| SVGElementInstanceEvents get on;
|
|
|
| /** @domName SVGElementInstance.childNodes */
|
| - abstract List<SVGElementInstance> get childNodes;
|
| + abstract SVGElementInstanceList get childNodes;
|
|
|
| /** @domName SVGElementInstance.correspondingElement */
|
| abstract SVGElement get correspondingElement;
|
| @@ -25035,9 +25260,24 @@
|
|
|
| EventListenerList get unload => this['unload'];
|
| }
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _SVGElementInstanceListImpl implements List<SVGElementInstance>, JavaScriptIndexingBehavior native "*SVGElementInstanceList" {
|
| +// WARNING: Do not edit - generated code.
|
|
|
| +/// @domName SVGElementInstanceList
|
| +abstract class SVGElementInstanceList implements List<SVGElementInstance> {
|
| +
|
| + /** @domName SVGElementInstanceList.length */
|
| + abstract int get length;
|
| +
|
| + /** @domName SVGElementInstanceList.item */
|
| + SVGElementInstance item(int index);
|
| +}
|
| +
|
| +class _SVGElementInstanceListImpl implements SVGElementInstanceList, JavaScriptIndexingBehavior native "*SVGElementInstanceList" {
|
| +
|
| final int length;
|
|
|
| _SVGElementInstanceImpl operator[](int index) native "return this[index];";
|
| @@ -25104,6 +25344,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<SVGElementInstance> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -27232,6 +27473,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<SVGLength> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -27838,6 +28080,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<SVGNumber> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -28813,6 +29056,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<SVGPathSeg> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -29884,6 +30128,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<String> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -30569,6 +30814,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<SVGTransform> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -31494,6 +31740,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<SourceBuffer> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -31678,6 +31925,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<SpeechGrammar> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -31711,7 +31959,7 @@
|
| abstract class SpeechInputEvent implements Event {
|
|
|
| /** @domName SpeechInputEvent.results */
|
| - abstract List<SpeechInputResult> get results;
|
| + abstract SpeechInputResultList get results;
|
| }
|
|
|
| class _SpeechInputEventImpl extends _EventImpl implements SpeechInputEvent native "*SpeechInputEvent" {
|
| @@ -31740,9 +31988,24 @@
|
|
|
| final String utterance;
|
| }
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _SpeechInputResultListImpl implements List<SpeechInputResult>, JavaScriptIndexingBehavior native "*SpeechInputResultList" {
|
| +// WARNING: Do not edit - generated code.
|
|
|
| +/// @domName SpeechInputResultList
|
| +abstract class SpeechInputResultList implements List<SpeechInputResult> {
|
| +
|
| + /** @domName SpeechInputResultList.length */
|
| + abstract int get length;
|
| +
|
| + /** @domName SpeechInputResultList.item */
|
| + SpeechInputResult item(int index);
|
| +}
|
| +
|
| +class _SpeechInputResultListImpl implements SpeechInputResultList, JavaScriptIndexingBehavior native "*SpeechInputResultList" {
|
| +
|
| final int length;
|
|
|
| _SpeechInputResultImpl operator[](int index) native "return this[index];";
|
| @@ -31809,6 +32072,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<SpeechInputResult> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -31994,7 +32258,7 @@
|
| abstract SpeechRecognitionResult get result;
|
|
|
| /** @domName SpeechRecognitionEvent.resultHistory */
|
| - abstract List<SpeechRecognitionResult> get resultHistory;
|
| + abstract SpeechRecognitionResultList get resultHistory;
|
|
|
| /** @domName SpeechRecognitionEvent.resultIndex */
|
| abstract int get resultIndex;
|
| @@ -32094,9 +32358,24 @@
|
|
|
| _SpeechRecognitionAlternativeImpl item(int index) native;
|
| }
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _SpeechRecognitionResultListImpl implements List<SpeechRecognitionResult>, JavaScriptIndexingBehavior native "*SpeechRecognitionResultList" {
|
| +// WARNING: Do not edit - generated code.
|
|
|
| +/// @domName SpeechRecognitionResultList
|
| +abstract class SpeechRecognitionResultList implements List<SpeechRecognitionResult> {
|
| +
|
| + /** @domName SpeechRecognitionResultList.length */
|
| + abstract int get length;
|
| +
|
| + /** @domName SpeechRecognitionResultList.item */
|
| + SpeechRecognitionResult item(int index);
|
| +}
|
| +
|
| +class _SpeechRecognitionResultListImpl implements SpeechRecognitionResultList, JavaScriptIndexingBehavior native "*SpeechRecognitionResultList" {
|
| +
|
| final int length;
|
|
|
| _SpeechRecognitionResultImpl operator[](int index) native "return this[index];";
|
| @@ -32163,6 +32442,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<SpeechRecognitionResult> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -32482,9 +32762,24 @@
|
|
|
| final String type;
|
| }
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _StyleSheetListImpl implements List<StyleSheet>, JavaScriptIndexingBehavior native "*StyleSheetList" {
|
| +// WARNING: Do not edit - generated code.
|
|
|
| +/// @domName StyleSheetList
|
| +abstract class StyleSheetList implements List<StyleSheet> {
|
| +
|
| + /** @domName StyleSheetList.length */
|
| + abstract int get length;
|
| +
|
| + /** @domName StyleSheetList.item */
|
| + StyleSheet item(int index);
|
| +}
|
| +
|
| +class _StyleSheetListImpl implements StyleSheetList, JavaScriptIndexingBehavior native "*StyleSheetList" {
|
| +
|
| final int length;
|
|
|
| _StyleSheetImpl operator[](int index) native "return this[index];";
|
| @@ -32551,6 +32846,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<StyleSheet> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -33443,6 +33739,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<TextTrackCue> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -33604,6 +33901,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<TextTrack> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -33891,6 +34189,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<Touch> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -34272,6 +34571,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<int> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -34391,6 +34691,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<int> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -34510,6 +34811,7 @@
|
| throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
|
| }
|
|
|
| + // FIXME: implement these.
|
| void setRange(int start, int rangeLength, List<int> from, [int startFrom]) {
|
| throw const UnsupportedOperationException("Cannot setRange on immutable List.");
|
| }
|
| @@ -37039,7 +37341,7 @@
|
| // WARNING: Do not edit - generated code.
|
|
|
| /// @domName WebKitCSSFilterValue
|
| -abstract class WebKitCSSFilterValue implements List<CSSValue> {
|
| +abstract class WebKitCSSFilterValue implements CSSValueList {
|
|
|
| static const int CSS_FILTER_BLUR = 10;
|
|
|
| @@ -37562,7 +37864,7 @@
|
| CSSStyleDeclaration $dom_getComputedStyle(Element element, String pseudoElement);
|
|
|
| /** @domName DOMWindow.getMatchedCSSRules */
|
| - List<CSSRule> getMatchedCSSRules(Element element, String pseudoElement);
|
| + CSSRuleList getMatchedCSSRules(Element element, String pseudoElement);
|
|
|
| /** @domName DOMWindow.getSelection */
|
| DOMSelection getSelection();
|
| @@ -41065,11 +41367,14 @@
|
| }
|
|
|
| if (e is _FileListImpl) return e;
|
| + if (e is FileList) {
|
| + throw const NotImplementedException('structured clone of FileList');
|
| + }
|
|
|
| // TODO(sra): Firefox: How to convert _TypedImageData on the other end?
|
| if (e is _ImageDataImpl) return e;
|
| if (e is ImageData) {
|
| - throw const NotImplementedException('structured clone of ImageData');
|
| + throw const NotImplementedException('structured clone of FileList');
|
| }
|
|
|
| if (e is _ArrayBufferImpl) return e;
|
|
|