| 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 d02574c021a53c5d27e6020966f9ae94184d56aa..2f4a16b9f53778ae41a77bfe4424c8c10db9f6d6 100644
|
| --- a/sdk/lib/html/dartium/html_dartium.dart
|
| +++ b/sdk/lib/html/dartium/html_dartium.dart
|
| @@ -23487,8 +23487,12 @@ class _ChildNodeListLazy extends ListBase<Node> implements NodeListWrapper {
|
| }
|
|
|
| void insertAll(int index, Iterable<Node> iterable) {
|
| - var item = this[index];
|
| - _this.insertAllBefore(iterable, item);
|
| + if (index == length) {
|
| + addAll(iterable);
|
| + } else {
|
| + var item = this[index];
|
| + _this.insertAllBefore(iterable, item);
|
| + }
|
| }
|
|
|
| void setAll(int index, Iterable<Node> iterable) {
|
| @@ -31073,12 +31077,12 @@ class Url extends NativeFieldWrapperClass2 implements UrlUtils {
|
| if ((blob_OR_source_OR_stream is Blob || blob_OR_source_OR_stream == null)) {
|
| return _blink.BlinkURL.createObjectURL_Callback_Blob(blob_OR_source_OR_stream);
|
| }
|
| - if ((blob_OR_source_OR_stream is MediaStream)) {
|
| - return _blink.BlinkURL.createObjectURL_Callback_MediaStream(blob_OR_source_OR_stream);
|
| - }
|
| if ((blob_OR_source_OR_stream is MediaSource)) {
|
| return _blink.BlinkURL.createObjectURL_Callback_MediaSource(blob_OR_source_OR_stream);
|
| }
|
| + if ((blob_OR_source_OR_stream is MediaStream)) {
|
| + return _blink.BlinkURL.createObjectURL_Callback_MediaStream(blob_OR_source_OR_stream);
|
| + }
|
| throw new ArgumentError("Incorrect number or type of arguments");
|
| }
|
|
|
|
|