| 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 d7c89dadd13fa16dd11020029ba99108c6e4ed12..a029ca43ca129012bd523e2ad854a1180caa18ee 100644
|
| --- a/sdk/lib/html/dartium/html_dartium.dart
|
| +++ b/sdk/lib/html/dartium/html_dartium.dart
|
| @@ -7707,7 +7707,6 @@ class Document extends Node
|
| @DocsEditable()
|
| DocumentFragment createDocumentFragment() native "Document_createDocumentFragment_Callback";
|
|
|
| - /// Deprecated: use new Element.tag(tagName) instead.
|
| @DomName('Document.createElement')
|
| @DocsEditable()
|
| Element _createElement(String localName_OR_tagName, [String typeExtension]) native "Document_createElement_Callback";
|
| @@ -8640,6 +8639,10 @@ class _ChildrenElementList extends ListBase<Element> {
|
| throw new UnsupportedError('Cannot sort element lists');
|
| }
|
|
|
| + void shuffle() {
|
| + throw new UnsupportedError('Cannot shuffle element lists');
|
| + }
|
| +
|
| void removeWhere(bool test(Element element)) {
|
| _filter(test, false);
|
| }
|
| @@ -9085,6 +9088,10 @@ class _FrozenElementList<T extends Element> extends ListBase<T> implements Eleme
|
| throw new UnsupportedError('Cannot sort list');
|
| }
|
|
|
| + void shuffle() {
|
| + throw new UnsupportedError('Cannot shuffle list');
|
| + }
|
| +
|
| Element get first => _nodeList.first;
|
|
|
| Element get last => _nodeList.last;
|
| @@ -18978,6 +18985,10 @@ class _ChildNodeListLazy extends ListBase<Node> {
|
| throw new UnsupportedError("Cannot sort Node list");
|
| }
|
|
|
| + void shuffle() {
|
| + throw new UnsupportedError("Cannot shuffle Node list");
|
| + }
|
| +
|
| // FIXME: implement these.
|
| void setRange(int start, int end, Iterable<Node> iterable,
|
| [int skipCount = 0]) {
|
| @@ -26115,13 +26126,13 @@ class Url extends NativeFieldWrapperClass1 {
|
| if ((blob_OR_source_OR_stream is Blob || blob_OR_source_OR_stream == null)) {
|
| return _createObjectURL_1(blob_OR_source_OR_stream);
|
| }
|
| - if ((blob_OR_source_OR_stream is MediaSource || blob_OR_source_OR_stream == null)) {
|
| + if ((blob_OR_source_OR_stream is MediaStream || blob_OR_source_OR_stream == null)) {
|
| return _createObjectURL_2(blob_OR_source_OR_stream);
|
| }
|
| - if ((blob_OR_source_OR_stream is _WebKitMediaSource || blob_OR_source_OR_stream == null)) {
|
| + if ((blob_OR_source_OR_stream is MediaSource || blob_OR_source_OR_stream == null)) {
|
| return _createObjectURL_3(blob_OR_source_OR_stream);
|
| }
|
| - if ((blob_OR_source_OR_stream is MediaStream || blob_OR_source_OR_stream == null)) {
|
| + if ((blob_OR_source_OR_stream is _WebKitMediaSource || blob_OR_source_OR_stream == null)) {
|
| return _createObjectURL_4(blob_OR_source_OR_stream);
|
| }
|
| throw new ArgumentError("Incorrect number or type of arguments");
|
| @@ -31386,6 +31397,10 @@ abstract class ImmutableListMixin<E> implements List<E> {
|
| throw new UnsupportedError("Cannot sort immutable List.");
|
| }
|
|
|
| + void shuffle() {
|
| + throw new UnsupportedError("Cannot shuffle immutable List.");
|
| + }
|
| +
|
| void insert(int index, E element) {
|
| throw new UnsupportedError("Cannot add to immutable List.");
|
| }
|
|
|