| Index: sdk/lib/html/dartium/html_dartium.dart
|
| diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
|
| index b2564d7a79f3cbd443fba3f3b5ad8749cf9e816d..b58be2facc5dcc352ac31e4dcf30c4c02689d8ef 100644
|
| --- a/sdk/lib/html/dartium/html_dartium.dart
|
| +++ b/sdk/lib/html/dartium/html_dartium.dart
|
| @@ -7615,7 +7615,7 @@ class DomMimeTypeArray extends NativeFieldWrapperClass1 implements List<DomMimeT
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -7916,7 +7916,7 @@ class DomPluginArray extends NativeFieldWrapperClass1 implements List<DomPlugin>
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -8344,7 +8344,7 @@ class DomStringList extends NativeFieldWrapperClass1 implements List<String> {
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -8627,7 +8627,7 @@ class _ChildrenElementList extends ListBase<Element> {
|
| _childElements.retainWhere(test);
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnimplementedError();
|
| }
|
|
|
| @@ -8753,7 +8753,7 @@ class _FrozenElementList extends ListBase {
|
| throw new UnsupportedError('');
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError('');
|
| }
|
|
|
| @@ -11029,7 +11029,7 @@ class FileList extends NativeFieldWrapperClass1 implements List<File> {
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -11543,7 +11543,7 @@ class Float32Array extends ArrayBufferView implements List<double> {
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -11786,7 +11786,7 @@ class Float64Array extends ArrayBufferView implements List<double> {
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -12539,7 +12539,7 @@ class HtmlAllCollection extends NativeFieldWrapperClass1 implements List<Node> {
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -12756,7 +12756,7 @@ class HtmlCollection extends NativeFieldWrapperClass1 implements List<Node> {
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -15129,7 +15129,7 @@ class Int16Array extends ArrayBufferView implements List<int> {
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -15372,7 +15372,7 @@ class Int32Array extends ArrayBufferView implements List<int> {
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -15615,7 +15615,7 @@ class Int8Array extends ArrayBufferView implements List<int> {
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -18346,7 +18346,7 @@ class _ChildNodeListLazy extends ListBase<Node> {
|
| throw new UnsupportedError(
|
| "Cannot setRange on immutable List.");
|
| }
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError(
|
| "Cannot removeRange on immutable List.");
|
| }
|
| @@ -18911,7 +18911,7 @@ class NodeList extends NativeFieldWrapperClass1 implements List<Node> {
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -21609,7 +21609,7 @@ class SourceBufferList extends EventTarget implements List<SourceBuffer> {
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -21935,7 +21935,7 @@ class SpeechGrammarList extends NativeFieldWrapperClass1 implements List<SpeechG
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -23676,7 +23676,7 @@ class TextTrackCueList extends NativeFieldWrapperClass1 implements List<TextTrac
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -23893,7 +23893,7 @@ class TextTrackList extends EventTarget implements List<TextTrack> {
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -24327,7 +24327,7 @@ class TouchList extends NativeFieldWrapperClass1 implements List<Touch> {
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -24844,7 +24844,7 @@ class Uint16Array extends ArrayBufferView implements List<int> {
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -25087,7 +25087,7 @@ class Uint32Array extends ArrayBufferView implements List<int> {
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -25330,7 +25330,7 @@ class Uint8Array extends ArrayBufferView implements List<int> {
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -25571,7 +25571,7 @@ class Uint8ClampedArray extends Uint8Array implements List<int> {
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -27694,7 +27694,7 @@ class _ClientRectList extends NativeFieldWrapperClass1 implements List<Rect> {
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -27916,7 +27916,7 @@ class _CssRuleList extends NativeFieldWrapperClass1 implements List<CssRule> {
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -28125,7 +28125,7 @@ class _CssValueList extends _CSSValue implements List<_CSSValue> {
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -28570,7 +28570,7 @@ class _EntryArray extends NativeFieldWrapperClass1 implements List<Entry> {
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -28779,7 +28779,7 @@ class _EntryArraySync extends NativeFieldWrapperClass1 implements List<_EntrySyn
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -29049,7 +29049,7 @@ class _GamepadList extends NativeFieldWrapperClass1 implements List<Gamepad> {
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -29349,7 +29349,7 @@ class _NamedNodeMap extends NativeFieldWrapperClass1 implements List<Node> {
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -29643,7 +29643,7 @@ class _SpeechInputResultList extends NativeFieldWrapperClass1 implements List<Sp
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -29852,7 +29852,7 @@ class _SpeechRecognitionResultList extends NativeFieldWrapperClass1 implements L
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -30061,7 +30061,7 @@ class _StyleSheetList extends NativeFieldWrapperClass1 implements List<StyleShee
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| + void removeRange(int start, int end) {
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| @@ -30923,6 +30923,12 @@ class _EventStreamSubscription<T extends Event> extends StreamSubscription<T> {
|
| _target.$dom_removeEventListener(_eventType, _onData, _useCapture);
|
| }
|
| }
|
| +
|
| + Future asFuture([var futureValue]) {
|
| + // We just need a future that will never succeed or fail.
|
| + Completer completer = new Completer();
|
| + return completer.future;
|
| + }
|
| }
|
|
|
|
|
| @@ -32644,7 +32650,7 @@ class _WrappedList<E> implements List<E> {
|
| _list.setRange(start, end, iterable, skipCount);
|
| }
|
|
|
| - void removeRange(int start, int length) { _list.removeRange(start, length); }
|
| + void removeRange(int start, int end) { _list.removeRange(start, end); }
|
|
|
| void insertRange(int start, int length, [E fill]) {
|
| _list.insertRange(start, length, fill);
|
|
|