| 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 a944e004dea9fcf246f2bfb389bcef7e1941bcae..5a95766570fcc40a57c3d300aca078e1c5c70853 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -6133,10 +6133,6 @@ class Document extends Node native "*Document"
|
| @DocsEditable
|
| final String $dom_referrer;
|
|
|
| - @DomName('Document.securityPolicy')
|
| - @DocsEditable
|
| - final DomSecurityPolicy securityPolicy;
|
| -
|
| @JSName('selectedStylesheetSet')
|
| @DomName('Document.selectedStylesheetSet')
|
| @DocsEditable
|
| @@ -6973,14 +6969,6 @@ class DomMimeTypeArray implements JavaScriptIndexingBehavior, List<DomMimeType>
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(DomMimeType element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -7243,14 +7231,6 @@ class DomPluginArray implements JavaScriptIndexingBehavior, List<DomPlugin> nati
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(DomPlugin element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -7309,77 +7289,6 @@ class DomPluginArray implements JavaScriptIndexingBehavior, List<DomPlugin> nati
|
|
|
|
|
| @DocsEditable
|
| -@DomName('SecurityPolicy')
|
| -class DomSecurityPolicy native "*SecurityPolicy" {
|
| -
|
| - @DomName('DOMSecurityPolicy.allowsEval')
|
| - @DocsEditable
|
| - final bool allowsEval;
|
| -
|
| - @DomName('DOMSecurityPolicy.allowsInlineScript')
|
| - @DocsEditable
|
| - final bool allowsInlineScript;
|
| -
|
| - @DomName('DOMSecurityPolicy.allowsInlineStyle')
|
| - @DocsEditable
|
| - final bool allowsInlineStyle;
|
| -
|
| - @DomName('DOMSecurityPolicy.isActive')
|
| - @DocsEditable
|
| - final bool isActive;
|
| -
|
| - @DomName('DOMSecurityPolicy.reportURIs')
|
| - @DocsEditable
|
| - @Returns('DomStringList')
|
| - @Creates('DomStringList')
|
| - final List<String> reportURIs;
|
| -
|
| - @DomName('DOMSecurityPolicy.allowsConnectionTo')
|
| - @DocsEditable
|
| - bool allowsConnectionTo(String url) native;
|
| -
|
| - @DomName('DOMSecurityPolicy.allowsFontFrom')
|
| - @DocsEditable
|
| - bool allowsFontFrom(String url) native;
|
| -
|
| - @DomName('DOMSecurityPolicy.allowsFormAction')
|
| - @DocsEditable
|
| - bool allowsFormAction(String url) native;
|
| -
|
| - @DomName('DOMSecurityPolicy.allowsFrameFrom')
|
| - @DocsEditable
|
| - bool allowsFrameFrom(String url) native;
|
| -
|
| - @DomName('DOMSecurityPolicy.allowsImageFrom')
|
| - @DocsEditable
|
| - bool allowsImageFrom(String url) native;
|
| -
|
| - @DomName('DOMSecurityPolicy.allowsMediaFrom')
|
| - @DocsEditable
|
| - bool allowsMediaFrom(String url) native;
|
| -
|
| - @DomName('DOMSecurityPolicy.allowsObjectFrom')
|
| - @DocsEditable
|
| - bool allowsObjectFrom(String url) native;
|
| -
|
| - @DomName('DOMSecurityPolicy.allowsPluginType')
|
| - @DocsEditable
|
| - bool allowsPluginType(String type) native;
|
| -
|
| - @DomName('DOMSecurityPolicy.allowsScriptFrom')
|
| - @DocsEditable
|
| - bool allowsScriptFrom(String url) native;
|
| -
|
| - @DomName('DOMSecurityPolicy.allowsStyleFrom')
|
| - @DocsEditable
|
| - bool allowsStyleFrom(String url) 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.
|
| -
|
| -
|
| -@DocsEditable
|
| @DomName('Selection')
|
| class DomSelection native "*Selection" {
|
|
|
| @@ -7661,14 +7570,6 @@ class DomStringList implements JavaScriptIndexingBehavior, List<String> native "
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(String element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -7935,14 +7836,6 @@ class _ChildrenElementList extends ListBase<Element> {
|
| }
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - _childElements.removeAll(elements);
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - _childElements.retainAll(elements);
|
| - }
|
| -
|
| void removeWhere(bool test(Element element)) {
|
| _childElements.removeWhere(test);
|
| }
|
| @@ -8105,14 +7998,6 @@ class _FrozenElementList extends ListBase {
|
| throw new UnsupportedError('');
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError('');
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError('');
|
| - }
|
| -
|
| void removeWhere(bool test(Element element)) {
|
| throw new UnsupportedError('');
|
| }
|
| @@ -8271,7 +8156,7 @@ abstract class Element extends Node implements ElementTraversal native "*Element
|
| */
|
| CssClassSet get classes => new _ElementCssClassSet(this);
|
|
|
| - void set classes(Collection<String> value) {
|
| + void set classes(Iterable<String> value) {
|
| CssClassSet classSet = classes;
|
| classSet.clear();
|
| classSet.addAll(value);
|
| @@ -10409,14 +10294,6 @@ class FileList implements JavaScriptIndexingBehavior, List<File> native "*FileLi
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(File element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -10901,14 +10778,6 @@ class Float32Array extends ArrayBufferView implements JavaScriptIndexingBehavior
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(num element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -11135,14 +11004,6 @@ class Float64Array extends ArrayBufferView implements JavaScriptIndexingBehavior
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(num element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -11789,14 +11650,6 @@ class HtmlAllCollection implements JavaScriptIndexingBehavior, List<Node> native
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(Node element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -12012,14 +11865,6 @@ class HtmlCollection implements JavaScriptIndexingBehavior, List<Node> native "*
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(Node element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -12906,10 +12751,6 @@ class IFrameElement extends Element native "*HTMLIFrameElement" {
|
| @DocsEditable
|
| String sandbox;
|
|
|
| - @DomName('HTMLIFrameElement.seamless')
|
| - @DocsEditable
|
| - bool seamless;
|
| -
|
| @DomName('HTMLIFrameElement.src')
|
| @DocsEditable
|
| String src;
|
| @@ -14058,14 +13899,6 @@ class Int16Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(int element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -14292,14 +14125,6 @@ class Int32Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(int element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -14526,14 +14351,6 @@ class Int8Array extends ArrayBufferView implements JavaScriptIndexingBehavior, L
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(int element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -16938,14 +16755,6 @@ class _ChildNodeListLazy extends ListBase<Node> {
|
| _this.$dom_removeChild(node);
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - // This is not using the default removeAll from ListBase because
|
| - // DOM nodes can be efficiently removed in constant time.
|
| - for (var element in elements) {
|
| - remove(element);
|
| - }
|
| - }
|
| -
|
| void _filter(bool test(Node node), bool removeMatching) {
|
| // This implementation of removeWhere/retainWhere is more efficient
|
| // than the default in ListBase. Child nodes can be removed in constant
|
| @@ -16960,11 +16769,6 @@ class _ChildNodeListLazy extends ListBase<Node> {
|
| }
|
| }
|
|
|
| - void retainAll(Iterable elements) {
|
| - Set retainSet = (elements is Set) ? elements : elements.toSet();
|
| - _filter(retainSet.contains, false);
|
| - }
|
| -
|
| void removeWhere(bool test(Node node)) {
|
| _filter(test, true);
|
| }
|
| @@ -17046,7 +16850,7 @@ class Node extends EventTarget native "*Node" {
|
| return new _ChildNodeListLazy(this);
|
| }
|
|
|
| - void set nodes(Collection<Node> value) {
|
| + void set nodes(Iterable<Node> value) {
|
| // Copy list first since we don't want liveness during iteration.
|
| // TODO(jacobr): there is a better way to do this.
|
| List copy = new List.from(value);
|
| @@ -17557,14 +17361,6 @@ class NodeList implements JavaScriptIndexingBehavior, List<Node> native "*NodeLi
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(Node element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -19406,10 +19202,6 @@ class ScriptElement extends Element native "*HTMLScriptElement" {
|
| @DocsEditable
|
| String htmlFor;
|
|
|
| - @DomName('HTMLScriptElement.nonce')
|
| - @DocsEditable
|
| - String nonce;
|
| -
|
| @DomName('HTMLScriptElement.src')
|
| @DocsEditable
|
| String src;
|
| @@ -19494,49 +19286,6 @@ class ScriptProfileNode native "*ScriptProfileNode" {
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -@DocsEditable
|
| -@DomName('SecurityPolicyViolationEvent')
|
| -class SecurityPolicyViolationEvent extends Event native "*SecurityPolicyViolationEvent" {
|
| -
|
| - @JSName('blockedURI')
|
| - @DomName('SecurityPolicyViolationEvent.blockedURI')
|
| - @DocsEditable
|
| - final String blockedUri;
|
| -
|
| - @JSName('documentURI')
|
| - @DomName('SecurityPolicyViolationEvent.documentURI')
|
| - @DocsEditable
|
| - final String documentUri;
|
| -
|
| - @DomName('SecurityPolicyViolationEvent.effectiveDirective')
|
| - @DocsEditable
|
| - final String effectiveDirective;
|
| -
|
| - @DomName('SecurityPolicyViolationEvent.lineNumber')
|
| - @DocsEditable
|
| - final int lineNumber;
|
| -
|
| - @DomName('SecurityPolicyViolationEvent.originalPolicy')
|
| - @DocsEditable
|
| - final String originalPolicy;
|
| -
|
| - @DomName('SecurityPolicyViolationEvent.referrer')
|
| - @DocsEditable
|
| - final String referrer;
|
| -
|
| - @DomName('SecurityPolicyViolationEvent.sourceFile')
|
| - @DocsEditable
|
| - final String sourceFile;
|
| -
|
| - @DomName('SecurityPolicyViolationEvent.violatedDirective')
|
| - @DocsEditable
|
| - final String violatedDirective;
|
| -}
|
| -// 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.
|
| -
|
| -
|
| @DomName('HTMLSelectElement')
|
| class SelectElement extends Element native "*HTMLSelectElement" {
|
|
|
| @@ -19909,14 +19658,6 @@ class SourceBufferList extends EventTarget implements JavaScriptIndexingBehavior
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(SourceBuffer element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -20205,14 +19946,6 @@ class SpeechGrammarList implements JavaScriptIndexingBehavior, List<SpeechGramma
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(SpeechGrammar element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -20600,13 +20333,13 @@ class Storage implements Map<String, String>
|
| }
|
| }
|
|
|
| - Collection<String> get keys {
|
| + Iterable<String> get keys {
|
| final keys = [];
|
| forEach((k, v) => keys.add(k));
|
| return keys;
|
| }
|
|
|
| - Collection<String> get values {
|
| + Iterable<String> get values {
|
| final values = [];
|
| forEach((k, v) => values.add(v));
|
| return values;
|
| @@ -21664,14 +21397,6 @@ class TextTrackCueList implements List<TextTrackCue>, JavaScriptIndexingBehavior
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(TextTrackCue element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -21885,14 +21610,6 @@ class TextTrackList extends EventTarget implements JavaScriptIndexingBehavior, L
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(TextTrack element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -22332,14 +22049,6 @@ class TouchList implements JavaScriptIndexingBehavior, List<Touch> native "*Touc
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(Touch element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -22816,14 +22525,6 @@ class Uint16Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(int element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -23050,14 +22751,6 @@ class Uint32Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(int element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -23284,14 +22977,6 @@ class Uint8Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(int element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -23515,14 +23200,6 @@ class Uint8ClampedArray extends Uint8Array implements JavaScriptIndexingBehavior
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(int element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -25797,14 +25474,6 @@ class _ClientRectList implements JavaScriptIndexingBehavior, List<Rect> native "
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(Rect element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -26019,14 +25688,6 @@ class _CssRuleList implements JavaScriptIndexingBehavior, List<CssRule> native "
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(CssRule element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -26232,14 +25893,6 @@ class _CssValueList extends _CSSValue implements JavaScriptIndexingBehavior, Lis
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(_CSSValue element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -26513,14 +26166,6 @@ class _EntryArray implements JavaScriptIndexingBehavior, List<Entry> native "*En
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(Entry element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -26726,14 +26371,6 @@ class _EntryArraySync implements JavaScriptIndexingBehavior, List<_EntrySync> na
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(_EntrySync element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -26982,14 +26619,6 @@ class _GamepadList implements JavaScriptIndexingBehavior, List<Gamepad> native "
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(Gamepad element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -27258,14 +26887,6 @@ class _NamedNodeMap implements JavaScriptIndexingBehavior, List<Node> native "*N
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(Node element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -27542,14 +27163,6 @@ class _SpeechInputResultList implements JavaScriptIndexingBehavior, List<SpeechI
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(SpeechInputResult element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -27755,14 +27368,6 @@ class _SpeechRecognitionResultList implements JavaScriptIndexingBehavior, List<S
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(SpeechRecognitionResult element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -27968,14 +27573,6 @@ class _StyleSheetList implements JavaScriptIndexingBehavior, List<StyleSheet> na
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void removeAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| - void retainAll(Iterable elements) {
|
| - throw new UnsupportedError("Cannot remove from immutable List.");
|
| - }
|
| -
|
| void removeWhere(bool test(StyleSheet element)) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
| @@ -28158,7 +27755,7 @@ abstract class _AttributeMap implements Map<String, String> {
|
| }
|
| }
|
|
|
| - Collection<String> get keys {
|
| + Iterable<String> get keys {
|
| // TODO: generate a lazy collection instead.
|
| var attributes = _element.$dom_attributes;
|
| var keys = new List<String>();
|
| @@ -28170,7 +27767,7 @@ abstract class _AttributeMap implements Map<String, String> {
|
| return keys;
|
| }
|
|
|
| - Collection<String> get values {
|
| + Iterable<String> get values {
|
| // TODO: generate a lazy collection instead.
|
| var attributes = _element.$dom_attributes;
|
| var values = new List<String>();
|
| @@ -28311,7 +27908,7 @@ class _DataAttributeMap implements Map<String, String> {
|
| });
|
| }
|
|
|
| - Collection<String> get keys {
|
| + Iterable<String> get keys {
|
| final keys = new List<String>();
|
| $dom_attributes.forEach((String key, String value) {
|
| if (_matches(key)) {
|
| @@ -28321,7 +27918,7 @@ class _DataAttributeMap implements Map<String, String> {
|
| return keys;
|
| }
|
|
|
| - Collection<String> get values {
|
| + Iterable<String> get values {
|
| final values = new List<String>();
|
| $dom_attributes.forEach((String key, String value) {
|
| if (_matches(key)) {
|
| @@ -28652,9 +28249,6 @@ abstract class CssClassSet implements Set<String> {
|
| _modify((s) => s.retainWhere(test));
|
| }
|
|
|
| - bool isSubsetOf(Collection<String> collection) =>
|
| - readClasses().isSubsetOf(collection);
|
| -
|
| bool containsAll(Iterable<String> collection) =>
|
| readClasses().containsAll(collection);
|
|
|
| @@ -31092,10 +30686,6 @@ class _WrappedList<E> implements List<E> {
|
|
|
| void remove(Object element) { _list.remove(element); }
|
|
|
| - void removeAll(Iterable elements) { _list.removeAll(elements); }
|
| -
|
| - void retainAll(Iterable elements) { _list.retainAll(elements); }
|
| -
|
| void removeWhere(bool test(E element)) { _list.removeWhere(test); }
|
|
|
| void retainWhere(bool test(E element)) { _list.retainWhere(test); }
|
|
|