| 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 864fbb476d77abc7e5c978657b87e20c94301475..9a28764cdf159a8f8143b7497484c17dbf73a702 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -21572,8 +21572,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) {
|
|
|