| Index: sdk/lib/html/dart2js/html_dart2js.dart
|
| diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
|
| index 91f87d0f9771c57b8bc486c9764b29c688930d62..f8c43916e6356ad38d40ed9799f140f81bbb6eb9 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -7777,7 +7777,7 @@ class DomSettableTokenList extends DomTokenList native "DOMSettableTokenList" {
|
|
|
| @DocsEditable()
|
| @DomName('DOMStringList')
|
| -class DomStringList extends Interceptor with ListMixin<String>, ImmutableListMixin<String> implements JavaScriptIndexingBehavior, List native "DOMStringList" {
|
| +class DomStringList extends Interceptor with ListMixin<String>, ImmutableListMixin<String> implements JavaScriptIndexingBehavior, List<String> native "DOMStringList" {
|
| // To suppress missing implicit constructor warnings.
|
| factory DomStringList._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -8372,7 +8372,7 @@ abstract class ElementList<T extends Element> extends ListBase<T> {
|
| // ElementList as there are valid cases where a NodeList JavaScript object
|
| // contains Node objects that are not Elements.
|
| class _FrozenElementList<T extends Element> extends ListBase<T>
|
| - implements ElementList, NodeListWrapper {
|
| + implements ElementList<T>, NodeListWrapper {
|
| final List<Node> _nodeList;
|
| // The subset of _nodeList that are Elements.
|
| List<Element> _elementList;
|
| @@ -11241,7 +11241,7 @@ class FileError extends DomError native "FileError" {
|
|
|
| @DocsEditable()
|
| @DomName('FileList')
|
| -class FileList extends Interceptor with ListMixin<File>, ImmutableListMixin<File> implements JavaScriptIndexingBehavior, List native "FileList" {
|
| +class FileList extends Interceptor with ListMixin<File>, ImmutableListMixin<File> implements JavaScriptIndexingBehavior, List<File> native "FileList" {
|
| // To suppress missing implicit constructor warnings.
|
| factory FileList._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -12235,7 +12235,7 @@ class HmacParams extends Algorithm native "HmacParams" {
|
|
|
| @DocsEditable()
|
| @DomName('HTMLCollection')
|
| -class HtmlCollection extends Interceptor with ListMixin<Node>, ImmutableListMixin<Node> implements JavaScriptIndexingBehavior, List native "HTMLCollection" {
|
| +class HtmlCollection extends Interceptor with ListMixin<Node>, ImmutableListMixin<Node> implements JavaScriptIndexingBehavior, List<Node> native "HTMLCollection" {
|
| // To suppress missing implicit constructor warnings.
|
| factory HtmlCollection._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -16602,7 +16602,7 @@ class MimeType extends Interceptor native "MimeType" {
|
| @DocsEditable()
|
| @DomName('MimeTypeArray')
|
| @Experimental() // non-standard
|
| -class MimeTypeArray extends Interceptor with ListMixin<MimeType>, ImmutableListMixin<MimeType> implements JavaScriptIndexingBehavior, List native "MimeTypeArray" {
|
| +class MimeTypeArray extends Interceptor with ListMixin<MimeType>, ImmutableListMixin<MimeType> implements JavaScriptIndexingBehavior, List<MimeType> native "MimeTypeArray" {
|
| // To suppress missing implicit constructor warnings.
|
| factory MimeTypeArray._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -17906,7 +17906,7 @@ class NodeIterator extends Interceptor native "NodeIterator" {
|
|
|
| @DocsEditable()
|
| @DomName('NodeList')
|
| -class NodeList extends Interceptor with ListMixin<Node>, ImmutableListMixin<Node> implements JavaScriptIndexingBehavior, List native "NodeList,RadioNodeList" {
|
| +class NodeList extends Interceptor with ListMixin<Node>, ImmutableListMixin<Node> implements JavaScriptIndexingBehavior, List<Node> native "NodeList,RadioNodeList" {
|
| // To suppress missing implicit constructor warnings.
|
| factory NodeList._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -18988,7 +18988,7 @@ class Plugin extends Interceptor native "Plugin" {
|
| @DocsEditable()
|
| @DomName('PluginArray')
|
| @Experimental() // non-standard
|
| -class PluginArray extends Interceptor with ListMixin<Plugin>, ImmutableListMixin<Plugin> implements JavaScriptIndexingBehavior, List native "PluginArray" {
|
| +class PluginArray extends Interceptor with ListMixin<Plugin>, ImmutableListMixin<Plugin> implements JavaScriptIndexingBehavior, List<Plugin> native "PluginArray" {
|
| // To suppress missing implicit constructor warnings.
|
| factory PluginArray._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -20959,7 +20959,7 @@ class SourceBuffer extends EventTarget native "SourceBuffer" {
|
| @DomName('SourceBufferList')
|
| // https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#sourcebufferlist
|
| @Experimental()
|
| -class SourceBufferList extends EventTarget with ListMixin<SourceBuffer>, ImmutableListMixin<SourceBuffer> implements JavaScriptIndexingBehavior, List native "SourceBufferList" {
|
| +class SourceBufferList extends EventTarget with ListMixin<SourceBuffer>, ImmutableListMixin<SourceBuffer> implements JavaScriptIndexingBehavior, List<SourceBuffer> native "SourceBufferList" {
|
| // To suppress missing implicit constructor warnings.
|
| factory SourceBufferList._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -21138,7 +21138,7 @@ class SpeechGrammar extends Interceptor native "SpeechGrammar" {
|
| @DomName('SpeechGrammarList')
|
| // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#dfn-speechgrammarlist
|
| @Experimental()
|
| -class SpeechGrammarList extends Interceptor with ListMixin<SpeechGrammar>, ImmutableListMixin<SpeechGrammar> implements JavaScriptIndexingBehavior, List native "SpeechGrammarList" {
|
| +class SpeechGrammarList extends Interceptor with ListMixin<SpeechGrammar>, ImmutableListMixin<SpeechGrammar> implements JavaScriptIndexingBehavior, List<SpeechGrammar> native "SpeechGrammarList" {
|
| // To suppress missing implicit constructor warnings.
|
| factory SpeechGrammarList._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -22882,7 +22882,7 @@ class TextTrackCue extends EventTarget native "TextTrackCue" {
|
| @DomName('TextTrackCueList')
|
| // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#texttrackcuelist
|
| @Experimental()
|
| -class TextTrackCueList extends Interceptor with ListMixin<TextTrackCue>, ImmutableListMixin<TextTrackCue> implements JavaScriptIndexingBehavior, List native "TextTrackCueList" {
|
| +class TextTrackCueList extends Interceptor with ListMixin<TextTrackCue>, ImmutableListMixin<TextTrackCue> implements List<TextTrackCue>, JavaScriptIndexingBehavior native "TextTrackCueList" {
|
| // To suppress missing implicit constructor warnings.
|
| factory TextTrackCueList._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -22951,7 +22951,7 @@ class TextTrackCueList extends Interceptor with ListMixin<TextTrackCue>, Immutab
|
| @DomName('TextTrackList')
|
| // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#texttracklist
|
| @Experimental()
|
| -class TextTrackList extends EventTarget with ListMixin<TextTrack>, ImmutableListMixin<TextTrack> implements JavaScriptIndexingBehavior, List native "TextTrackList" {
|
| +class TextTrackList extends EventTarget with ListMixin<TextTrack>, ImmutableListMixin<TextTrack> implements JavaScriptIndexingBehavior, List<TextTrack> native "TextTrackList" {
|
| // To suppress missing implicit constructor warnings.
|
| factory TextTrackList._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -23255,7 +23255,7 @@ class TouchEvent extends UIEvent native "TouchEvent" {
|
| @DomName('TouchList')
|
| // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features
|
| @Experimental()
|
| -class TouchList extends Interceptor with ListMixin<Touch>, ImmutableListMixin<Touch> implements JavaScriptIndexingBehavior, List native "TouchList" {
|
| +class TouchList extends Interceptor with ListMixin<Touch>, ImmutableListMixin<Touch> implements JavaScriptIndexingBehavior, List<Touch> native "TouchList" {
|
| /// NB: This constructor likely does not work as you might expect it to! This
|
| /// constructor will simply fail (returning null) if you are not on a device
|
| /// with touch enabled. See dartbug.com/8314.
|
| @@ -26101,7 +26101,7 @@ class _JenkinsSmiHash {
|
|
|
| @DocsEditable()
|
| @DomName('ClientRectList')
|
| -class _ClientRectList extends Interceptor with ListMixin<Rectangle>, ImmutableListMixin<Rectangle> implements JavaScriptIndexingBehavior, List native "ClientRectList" {
|
| +class _ClientRectList extends Interceptor with ListMixin<Rectangle>, ImmutableListMixin<Rectangle> implements List<Rectangle>, JavaScriptIndexingBehavior native "ClientRectList" {
|
| // To suppress missing implicit constructor warnings.
|
| factory _ClientRectList._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -26177,7 +26177,7 @@ abstract class _Counter extends Interceptor native "Counter" {
|
|
|
| @DocsEditable()
|
| @DomName('CSSRuleList')
|
| -class _CssRuleList extends Interceptor with ListMixin<CssRule>, ImmutableListMixin<CssRule> implements JavaScriptIndexingBehavior, List native "CSSRuleList" {
|
| +class _CssRuleList extends Interceptor with ListMixin<CssRule>, ImmutableListMixin<CssRule> implements JavaScriptIndexingBehavior, List<CssRule> native "CSSRuleList" {
|
| // To suppress missing implicit constructor warnings.
|
| factory _CssRuleList._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -26242,7 +26242,7 @@ class _CssRuleList extends Interceptor with ListMixin<CssRule>, ImmutableListMix
|
| @DomName('CSSValueList')
|
| // http://dev.w3.org/csswg/cssom/
|
| @deprecated // deprecated
|
| -class _CssValueList extends _CSSValue with ListMixin<_CSSValue>, ImmutableListMixin<_CSSValue> implements JavaScriptIndexingBehavior, List native "CSSValueList" {
|
| +class _CssValueList extends _CSSValue with ListMixin<_CSSValue>, ImmutableListMixin<_CSSValue> implements JavaScriptIndexingBehavior, List<_CSSValue> native "CSSValueList" {
|
| // To suppress missing implicit constructor warnings.
|
| factory _CssValueList._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -26468,7 +26468,7 @@ abstract class _FileWriterSync extends Interceptor native "FileWriterSync" {
|
| @DomName('GamepadList')
|
| // https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html
|
| @Experimental()
|
| -class _GamepadList extends Interceptor with ListMixin<Gamepad>, ImmutableListMixin<Gamepad> implements JavaScriptIndexingBehavior, List native "GamepadList" {
|
| +class _GamepadList extends Interceptor with ListMixin<Gamepad>, ImmutableListMixin<Gamepad> implements JavaScriptIndexingBehavior, List<Gamepad> native "GamepadList" {
|
| // To suppress missing implicit constructor warnings.
|
| factory _GamepadList._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -26709,7 +26709,7 @@ abstract class _MutationEvent extends Event native "MutationEvent" {
|
| @DomName('NamedNodeMap')
|
| // http://dom.spec.whatwg.org/#namednodemap
|
| @deprecated // deprecated
|
| -class _NamedNodeMap extends Interceptor with ListMixin<Node>, ImmutableListMixin<Node> implements JavaScriptIndexingBehavior, List native "NamedNodeMap,MozNamedAttrMap" {
|
| +class _NamedNodeMap extends Interceptor with ListMixin<Node>, ImmutableListMixin<Node> implements JavaScriptIndexingBehavior, List<Node> native "NamedNodeMap,MozNamedAttrMap" {
|
| // To suppress missing implicit constructor warnings.
|
| factory _NamedNodeMap._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -26905,7 +26905,7 @@ abstract class _SharedWorker extends EventTarget implements AbstractWorker nativ
|
| @DomName('SpeechInputResultList')
|
| // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/api-draft.html#speech_input_result_list_interface
|
| @Experimental()
|
| -class _SpeechInputResultList extends Interceptor with ListMixin<SpeechInputResult>, ImmutableListMixin<SpeechInputResult> implements JavaScriptIndexingBehavior, List native "SpeechInputResultList" {
|
| +class _SpeechInputResultList extends Interceptor with ListMixin<SpeechInputResult>, ImmutableListMixin<SpeechInputResult> implements JavaScriptIndexingBehavior, List<SpeechInputResult> native "SpeechInputResultList" {
|
| // To suppress missing implicit constructor warnings.
|
| factory _SpeechInputResultList._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -26970,7 +26970,7 @@ class _SpeechInputResultList extends Interceptor with ListMixin<SpeechInputResul
|
| @DomName('SpeechRecognitionResultList')
|
| // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechrecognitionresultlist
|
| @Experimental()
|
| -class _SpeechRecognitionResultList extends Interceptor with ListMixin<SpeechRecognitionResult>, ImmutableListMixin<SpeechRecognitionResult> implements JavaScriptIndexingBehavior, List native "SpeechRecognitionResultList" {
|
| +class _SpeechRecognitionResultList extends Interceptor with ListMixin<SpeechRecognitionResult>, ImmutableListMixin<SpeechRecognitionResult> implements JavaScriptIndexingBehavior, List<SpeechRecognitionResult> native "SpeechRecognitionResultList" {
|
| // To suppress missing implicit constructor warnings.
|
| factory _SpeechRecognitionResultList._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -27033,7 +27033,7 @@ class _SpeechRecognitionResultList extends Interceptor with ListMixin<SpeechReco
|
|
|
| @DocsEditable()
|
| @DomName('StyleSheetList')
|
| -class _StyleSheetList extends Interceptor with ListMixin<StyleSheet>, ImmutableListMixin<StyleSheet> implements JavaScriptIndexingBehavior, List native "StyleSheetList" {
|
| +class _StyleSheetList extends Interceptor with ListMixin<StyleSheet>, ImmutableListMixin<StyleSheet> implements JavaScriptIndexingBehavior, List<StyleSheet> native "StyleSheetList" {
|
| // To suppress missing implicit constructor warnings.
|
| factory _StyleSheetList._() { throw new UnsupportedError("Not supported"); }
|
|
|
|
|