Index: lib/html/dartium/html_dartium.dart |
diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart |
index 5da7f23b5e64e9602d267eb326099e35e72c91ca..f8901ca0830fe4a69df784f32c4d2c1d1b317443 100644 |
--- a/lib/html/dartium/html_dartium.dart |
+++ b/lib/html/dartium/html_dartium.dart |
@@ -2849,7 +2849,7 @@ class _CSSRuleListImpl extends NativeFieldWrapperClass1 implements List<CSSRule> |
return _Lists.lastIndexOf(this, element, start); |
} |
- CSSRule last() => this[length - 1]; |
+ CSSRule get last => this[length - 1]; |
CSSRule removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -7866,7 +7866,7 @@ class _CSSValueListImpl extends _CSSValueImpl implements List<CSSValue> { |
return _Lists.lastIndexOf(this, element, start); |
} |
- CSSValue last() => this[length - 1]; |
+ CSSValue get last => this[length - 1]; |
CSSValue removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -8859,7 +8859,7 @@ class _ClientRectListImpl extends NativeFieldWrapperClass1 implements List<Clien |
return _Lists.lastIndexOf(this, element, start); |
} |
- ClientRect last() => this[length - 1]; |
+ ClientRect get last => this[length - 1]; |
ClientRect removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -9821,7 +9821,7 @@ class _DOMMimeTypeArrayImpl extends NativeFieldWrapperClass1 implements DOMMimeT |
return _Lists.lastIndexOf(this, element, start); |
} |
- DOMMimeType last() => this[length - 1]; |
+ DOMMimeType get last => this[length - 1]; |
DOMMimeType removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -10009,7 +10009,7 @@ class _DOMPluginArrayImpl extends NativeFieldWrapperClass1 implements DOMPluginA |
return _Lists.lastIndexOf(this, element, start); |
} |
- DOMPlugin last() => this[length - 1]; |
+ DOMPlugin get last => this[length - 1]; |
DOMPlugin removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -10303,7 +10303,7 @@ class _DOMStringListImpl extends NativeFieldWrapperClass1 implements List<String |
return _Lists.lastIndexOf(this, element, start); |
} |
- String last() => this[length - 1]; |
+ String get last => this[length - 1]; |
String removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -11592,7 +11592,7 @@ class _FilteredElementList implements List { |
} |
Element removeLast() { |
- final result = this.last(); |
+ final result = this.last; |
if (result != null) { |
result.remove(); |
} |
@@ -11617,7 +11617,7 @@ class _FilteredElementList implements List { |
return _filtered.lastIndexOf(element, start); |
} |
- Element last() => _filtered.last(); |
+ Element get last => _filtered.last; |
} |
Future<CSSStyleDeclaration> _emptyStyleFuture() { |
@@ -11753,7 +11753,7 @@ class _DocumentFragmentImpl extends _NodeImpl implements DocumentFragment { |
} |
return null; |
} |
- Element get $m_lastElementChild() => elements.last(); |
+ Element get $m_lastElementChild() => elements.last; |
Element get nextElementSibling => null; |
Element get previousElementSibling => null; |
Element get offsetParent => null; |
@@ -12820,14 +12820,14 @@ class _ChildrenElementList implements List { |
} |
Element removeLast() { |
- final result = this.last(); |
+ final result = this.last; |
if (result != null) { |
_element.$dom_removeChild(result); |
} |
return result; |
} |
- Element last() { |
+ Element get last { |
return _element.$dom_lastElementChild; |
} |
} |
@@ -12953,7 +12953,7 @@ class _FrozenElementList implements List { |
throw new UnsupportedError(''); |
} |
- Element last() => _nodeList.last(); |
+ Element get last => _nodeList.last; |
} |
class _FrozenElementListIterator implements Iterator<Element> { |
@@ -14011,7 +14011,7 @@ class _EntryArrayImpl extends NativeFieldWrapperClass1 implements List<Entry> { |
return _Lists.lastIndexOf(this, element, start); |
} |
- Entry last() => this[length - 1]; |
+ Entry get last => this[length - 1]; |
Entry removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -14107,7 +14107,7 @@ class _EntryArraySyncImpl extends NativeFieldWrapperClass1 implements List<Entry |
return _Lists.lastIndexOf(this, element, start); |
} |
- EntrySync last() => this[length - 1]; |
+ EntrySync get last => this[length - 1]; |
EntrySync removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -15037,7 +15037,7 @@ class _FileListImpl extends NativeFieldWrapperClass1 implements List<File> { |
return _Lists.lastIndexOf(this, element, start); |
} |
- File last() => this[length - 1]; |
+ File get last => this[length - 1]; |
File removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -15516,7 +15516,7 @@ class _Float32ArrayImpl extends _ArrayBufferViewImpl implements Float32Array { |
return _Lists.lastIndexOf(this, element, start); |
} |
- num last() => this[length - 1]; |
+ num get last => this[length - 1]; |
num removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -15650,7 +15650,7 @@ class _Float64ArrayImpl extends _ArrayBufferViewImpl implements Float64Array { |
return _Lists.lastIndexOf(this, element, start); |
} |
- num last() => this[length - 1]; |
+ num get last => this[length - 1]; |
num removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -16167,7 +16167,7 @@ class _GamepadListImpl extends NativeFieldWrapperClass1 implements List<Gamepad> |
return _Lists.lastIndexOf(this, element, start); |
} |
- Gamepad last() => this[length - 1]; |
+ Gamepad get last => this[length - 1]; |
Gamepad removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -16393,7 +16393,7 @@ class _HTMLAllCollectionImpl extends NativeFieldWrapperClass1 implements HTMLAll |
return _Lists.lastIndexOf(this, element, start); |
} |
- Node last() => this[length - 1]; |
+ Node get last => this[length - 1]; |
Node removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -16511,7 +16511,7 @@ class _HTMLCollectionImpl extends NativeFieldWrapperClass1 implements HTMLCollec |
return _Lists.lastIndexOf(this, element, start); |
} |
- Node last() => this[length - 1]; |
+ Node get last => this[length - 1]; |
Node removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -19046,7 +19046,7 @@ class _Int16ArrayImpl extends _ArrayBufferViewImpl implements Int16Array { |
return _Lists.lastIndexOf(this, element, start); |
} |
- int last() => this[length - 1]; |
+ int get last => this[length - 1]; |
int removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -19180,7 +19180,7 @@ class _Int32ArrayImpl extends _ArrayBufferViewImpl implements Int32Array { |
return _Lists.lastIndexOf(this, element, start); |
} |
- int last() => this[length - 1]; |
+ int get last => this[length - 1]; |
int removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -19314,7 +19314,7 @@ class _Int8ArrayImpl extends _ArrayBufferViewImpl implements Int8Array { |
return _Lists.lastIndexOf(this, element, start); |
} |
- int last() => this[length - 1]; |
+ int get last => this[length - 1]; |
int removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -22032,7 +22032,7 @@ class _MediaStreamListImpl extends NativeFieldWrapperClass1 implements List<Medi |
return _Lists.lastIndexOf(this, element, start); |
} |
- MediaStream last() => this[length - 1]; |
+ MediaStream get last => this[length - 1]; |
MediaStream removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -23097,7 +23097,7 @@ class _NamedNodeMapImpl extends NativeFieldWrapperClass1 implements NamedNodeMap |
return _Lists.lastIndexOf(this, element, start); |
} |
- Node last() => this[length - 1]; |
+ Node get last => this[length - 1]; |
Node removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -23488,7 +23488,7 @@ class _ChildNodeListLazy implements List { |
_NodeImpl get first => _this.$dom_firstChild; |
- _NodeImpl last() => _this.$dom_lastChild; |
+ _NodeImpl get last => _this.$dom_lastChild; |
void add(_NodeImpl value) { |
_this.$dom_appendChild(value); |
@@ -23506,7 +23506,7 @@ class _ChildNodeListLazy implements List { |
} |
_NodeImpl removeLast() { |
- final result = last(); |
+ final result = last; |
if (result != null) { |
_this.$dom_removeChild(result); |
} |
@@ -23793,7 +23793,7 @@ class _ListWrapper<E> implements List<E> { |
E removeLast() => _list.removeLast(); |
- E last() => _list.last(); |
+ E get last => _list.last; |
List<E> getRange(int start, int rangeLength) => |
_list.getRange(start, rangeLength); |
@@ -23856,7 +23856,7 @@ class _NodeListImpl extends NativeFieldWrapperClass1 implements NodeList { |
} |
_NodeImpl removeLast() { |
- final result = this.last(); |
+ final result = this.last; |
if (result != null) { |
_parent.$dom_removeChild(result); |
} |
@@ -23898,7 +23898,7 @@ class _NodeListImpl extends NativeFieldWrapperClass1 implements NodeList { |
int lastIndexOf(Node element, [int start = 0]) => |
_Lists.lastIndexOf(this, element, start); |
- Node last() => this[length - 1]; |
+ Node get last => this[length - 1]; |
Node get first => this[0]; |
// FIXME: implement thesee. |
@@ -26676,7 +26676,7 @@ class _SQLResultSetRowListImpl extends NativeFieldWrapperClass1 implements SQLRe |
return _Lists.lastIndexOf(this, element, start); |
} |
- Map last() => this[length - 1]; |
+ Map get last => this[length - 1]; |
Map removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -27290,7 +27290,7 @@ class _SVGAnimatedLengthListImpl extends NativeFieldWrapperClass1 implements SVG |
return _Lists.lastIndexOf(this, element, start); |
} |
- SVGAnimatedLength last() => this[length - 1]; |
+ SVGAnimatedLength get last => this[length - 1]; |
SVGAnimatedLength removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -27431,7 +27431,7 @@ class _SVGAnimatedNumberListImpl extends NativeFieldWrapperClass1 implements SVG |
return _Lists.lastIndexOf(this, element, start); |
} |
- SVGAnimatedNumber last() => this[length - 1]; |
+ SVGAnimatedNumber get last => this[length - 1]; |
SVGAnimatedNumber removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -27628,7 +27628,7 @@ class _SVGAnimatedTransformListImpl extends NativeFieldWrapperClass1 implements |
return _Lists.lastIndexOf(this, element, start); |
} |
- SVGAnimateTransformElement last() => this[length - 1]; |
+ SVGAnimateTransformElement get last => this[length - 1]; |
SVGAnimateTransformElement removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -28510,7 +28510,7 @@ class _SVGElementInstanceListImpl extends NativeFieldWrapperClass1 implements Li |
return _Lists.lastIndexOf(this, element, start); |
} |
- SVGElementInstance last() => this[length - 1]; |
+ SVGElementInstance get last => this[length - 1]; |
SVGElementInstance removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -30666,7 +30666,7 @@ class _SVGLengthListImpl extends NativeFieldWrapperClass1 implements SVGLengthLi |
return _Lists.lastIndexOf(this, element, start); |
} |
- SVGLength last() => this[length - 1]; |
+ SVGLength get last => this[length - 1]; |
SVGLength removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -31313,7 +31313,7 @@ class _SVGNumberListImpl extends NativeFieldWrapperClass1 implements SVGNumberLi |
return _Lists.lastIndexOf(this, element, start); |
} |
- SVGNumber last() => this[length - 1]; |
+ SVGNumber get last => this[length - 1]; |
SVGNumber removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -32455,7 +32455,7 @@ class _SVGPathSegListImpl extends NativeFieldWrapperClass1 implements SVGPathSeg |
return _Lists.lastIndexOf(this, element, start); |
} |
- SVGPathSeg last() => this[length - 1]; |
+ SVGPathSeg get last => this[length - 1]; |
SVGPathSeg removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -33576,7 +33576,7 @@ class _SVGStringListImpl extends NativeFieldWrapperClass1 implements SVGStringLi |
return _Lists.lastIndexOf(this, element, start); |
} |
- String last() => this[length - 1]; |
+ String get last => this[length - 1]; |
String removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -34282,7 +34282,7 @@ class _SVGTransformListImpl extends NativeFieldWrapperClass1 implements SVGTrans |
return _Lists.lastIndexOf(this, element, start); |
} |
- SVGTransform last() => this[length - 1]; |
+ SVGTransform get last => this[length - 1]; |
SVGTransform removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -35346,7 +35346,7 @@ class _SourceBufferListImpl extends _EventTargetImpl implements SourceBufferList |
return _Lists.lastIndexOf(this, element, start); |
} |
- SourceBuffer last() => this[length - 1]; |
+ SourceBuffer get last => this[length - 1]; |
SourceBuffer removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -35566,7 +35566,7 @@ class _SpeechGrammarListImpl extends NativeFieldWrapperClass1 implements SpeechG |
return _Lists.lastIndexOf(this, element, start); |
} |
- SpeechGrammar last() => this[length - 1]; |
+ SpeechGrammar get last => this[length - 1]; |
SpeechGrammar removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -35737,7 +35737,7 @@ class _SpeechInputResultListImpl extends NativeFieldWrapperClass1 implements Lis |
return _Lists.lastIndexOf(this, element, start); |
} |
- SpeechInputResult last() => this[length - 1]; |
+ SpeechInputResult get last => this[length - 1]; |
SpeechInputResult removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -36122,7 +36122,7 @@ class _SpeechRecognitionResultListImpl extends NativeFieldWrapperClass1 implemen |
return _Lists.lastIndexOf(this, element, start); |
} |
- SpeechRecognitionResult last() => this[length - 1]; |
+ SpeechRecognitionResult get last => this[length - 1]; |
SpeechRecognitionResult removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -36559,7 +36559,7 @@ class _StyleSheetListImpl extends NativeFieldWrapperClass1 implements List<Style |
return _Lists.lastIndexOf(this, element, start); |
} |
- StyleSheet last() => this[length - 1]; |
+ StyleSheet get last => this[length - 1]; |
StyleSheet removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -37659,7 +37659,7 @@ class _TextTrackCueListImpl extends NativeFieldWrapperClass1 implements TextTrac |
return _Lists.lastIndexOf(this, element, start); |
} |
- TextTrackCue last() => this[length - 1]; |
+ TextTrackCue get last => this[length - 1]; |
TextTrackCue removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -37836,7 +37836,7 @@ class _TextTrackListImpl extends _EventTargetImpl implements TextTrackList { |
return _Lists.lastIndexOf(this, element, start); |
} |
- TextTrack last() => this[length - 1]; |
+ TextTrack get last => this[length - 1]; |
TextTrack removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -38156,7 +38156,7 @@ class _TouchListImpl extends NativeFieldWrapperClass1 implements TouchList { |
return _Lists.lastIndexOf(this, element, start); |
} |
- Touch last() => this[length - 1]; |
+ Touch get last => this[length - 1]; |
Touch removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -38585,7 +38585,7 @@ class _Uint16ArrayImpl extends _ArrayBufferViewImpl implements Uint16Array { |
return _Lists.lastIndexOf(this, element, start); |
} |
- int last() => this[length - 1]; |
+ int get last => this[length - 1]; |
int removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -38719,7 +38719,7 @@ class _Uint32ArrayImpl extends _ArrayBufferViewImpl implements Uint32Array { |
return _Lists.lastIndexOf(this, element, start); |
} |
- int last() => this[length - 1]; |
+ int get last => this[length - 1]; |
int removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -38853,7 +38853,7 @@ class _Uint8ArrayImpl extends _ArrayBufferViewImpl implements Uint8Array { |
return _Lists.lastIndexOf(this, element, start); |
} |
- int last() => this[length - 1]; |
+ int get last => this[length - 1]; |
int removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |
@@ -41051,7 +41051,7 @@ class _WebKitAnimationListImpl extends NativeFieldWrapperClass1 implements List< |
return _Lists.lastIndexOf(this, element, start); |
} |
- Animation last() => this[length - 1]; |
+ Animation get last => this[length - 1]; |
Animation removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |