| 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 112f7fb72cf6012367380a5f02f6118f2bf63662..6936e8c30b70d5ef95985dc5d1c2503c8daa52b6 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -1780,55 +1780,6 @@ class CDataSection extends Text {
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -@DocsEditable()
|
| -@DomName('CacheStorage')
|
| -@Experimental() // untriaged
|
| -@Native("CacheStorage")
|
| -class CacheStorage extends Interceptor {
|
| - // To suppress missing implicit constructor warnings.
|
| - factory CacheStorage._() { throw new UnsupportedError("Not supported"); }
|
| -
|
| - @DomName('CacheStorage.delete')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Future delete(String cacheName) native;
|
| -
|
| - @DomName('CacheStorage.has')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Future has(String cacheName) native;
|
| -
|
| - @DomName('CacheStorage.keys')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Future keys() native;
|
| -
|
| - @DomName('CacheStorage.match')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Future match(/*RequestInfo*/ request, [Map options]) {
|
| - if (options != null) {
|
| - var options_1 = convertDartToNative_Dictionary(options);
|
| - return _match_1(request, options_1);
|
| - }
|
| - return _match_2(request);
|
| - }
|
| - @JSName('match')
|
| - @DomName('CacheStorage.match')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Future _match_1(request, options) native;
|
| - @JSName('match')
|
| - @DomName('CacheStorage.match')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Future _match_2(request) native;
|
| -
|
| - @DomName('CacheStorage.open')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Future open(String cacheName) native;
|
| -}
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
| @@ -29631,56 +29582,6 @@ class ServiceWorkerContainer extends EventTarget {
|
| @Experimental() // untriaged
|
| Stream<MessageEvent> get onMessage => messageEvent.forTarget(this);
|
| }
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -@DocsEditable()
|
| -@DomName('ServiceWorkerGlobalScope')
|
| -@Experimental() // untriaged
|
| -@Native("ServiceWorkerGlobalScope")
|
| -class ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
| - // To suppress missing implicit constructor warnings.
|
| - factory ServiceWorkerGlobalScope._() { throw new UnsupportedError("Not supported"); }
|
| -
|
| - @DomName('ServiceWorkerGlobalScope.messageEvent')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const EventStreamProvider<MessageEvent> messageEvent = const EventStreamProvider<MessageEvent>('message');
|
| -
|
| - @DomName('ServiceWorkerGlobalScope.clients')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - final Clients clients;
|
| -
|
| - @DomName('ServiceWorkerGlobalScope.ports')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - final StashedPortCollection ports;
|
| -
|
| - @DomName('ServiceWorkerGlobalScope.registration')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - final ServiceWorkerRegistration registration;
|
| -
|
| - @DomName('ServiceWorkerGlobalScope.skipWaiting')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Future skipWaiting() native;
|
| -
|
| - @DomName('ServiceWorkerGlobalScope.onmessage')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Stream<MessageEvent> get onMessage => messageEvent.forTarget(this);
|
| -}
|
| -// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| -
|
| // TODO(alanknight): Provide a nicer constructor that uses named parameters
|
| // rather than an initialization map.
|
| @DomName('ServiceWorkerMessageEvent')
|
| @@ -29736,7 +29637,7 @@ class ServiceWorkerMessageEvent extends Event {
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| @Creates('Null')
|
| - @Returns('_ServiceWorker|MessagePort')
|
| + @Returns('MessagePort')
|
| final Object source;
|
|
|
| }
|
| @@ -29744,107 +29645,6 @@ class ServiceWorkerMessageEvent extends Event {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| -@DocsEditable()
|
| -@DomName('ServiceWorkerRegistration')
|
| -@Experimental() // untriaged
|
| -@Native("ServiceWorkerRegistration")
|
| -class ServiceWorkerRegistration extends EventTarget {
|
| - // To suppress missing implicit constructor warnings.
|
| - factory ServiceWorkerRegistration._() { throw new UnsupportedError("Not supported"); }
|
| -
|
| - @DomName('ServiceWorkerRegistration.active')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - final _ServiceWorker active;
|
| -
|
| - @DomName('ServiceWorkerRegistration.geofencing')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - final Geofencing geofencing;
|
| -
|
| - @DomName('ServiceWorkerRegistration.installing')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - final _ServiceWorker installing;
|
| -
|
| - @DomName('ServiceWorkerRegistration.periodicSync')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - final PeriodicSyncManager periodicSync;
|
| -
|
| - @DomName('ServiceWorkerRegistration.pushManager')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - final PushManager pushManager;
|
| -
|
| - @DomName('ServiceWorkerRegistration.scope')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - final String scope;
|
| -
|
| - @DomName('ServiceWorkerRegistration.sync')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - final SyncManager sync;
|
| -
|
| - @DomName('ServiceWorkerRegistration.waiting')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - final _ServiceWorker waiting;
|
| -
|
| - @DomName('ServiceWorkerRegistration.getNotifications')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Future getNotifications([Map filter]) {
|
| - if (filter != null) {
|
| - var filter_1 = convertDartToNative_Dictionary(filter);
|
| - return _getNotifications_1(filter_1);
|
| - }
|
| - return _getNotifications_2();
|
| - }
|
| - @JSName('getNotifications')
|
| - @DomName('ServiceWorkerRegistration.getNotifications')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Future _getNotifications_1(filter) native;
|
| - @JSName('getNotifications')
|
| - @DomName('ServiceWorkerRegistration.getNotifications')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Future _getNotifications_2() native;
|
| -
|
| - @DomName('ServiceWorkerRegistration.showNotification')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Future showNotification(String title, [Map options]) {
|
| - if (options != null) {
|
| - var options_1 = convertDartToNative_Dictionary(options);
|
| - return _showNotification_1(title, options_1);
|
| - }
|
| - return _showNotification_2(title);
|
| - }
|
| - @JSName('showNotification')
|
| - @DomName('ServiceWorkerRegistration.showNotification')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Future _showNotification_1(title, options) native;
|
| - @JSName('showNotification')
|
| - @DomName('ServiceWorkerRegistration.showNotification')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Future _showNotification_2(title) native;
|
| -
|
| - @DomName('ServiceWorkerRegistration.unregister')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Future unregister() native;
|
| -
|
| - @DomName('ServiceWorkerRegistration.update')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void update() native;
|
| -}
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
| @@ -34937,11 +34737,6 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
|
| @DocsEditable()
|
| final ApplicationCache applicationCache;
|
|
|
| - @DomName('Window.caches')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - final CacheStorage caches;
|
| -
|
| @DomName('Window.closed')
|
| @DocsEditable()
|
| final bool closed;
|
| @@ -36830,11 +36625,6 @@ class WorkerGlobalScope extends EventTarget implements _WindowTimers, WindowBase
|
| @Experimental() // untriaged
|
| static const int TEMPORARY = 0;
|
|
|
| - @DomName('WorkerGlobalScope.caches')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - final CacheStorage caches;
|
| -
|
| @DomName('WorkerGlobalScope.console')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| @@ -37376,20 +37166,6 @@ class _Attr extends Node {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| -@DocsEditable()
|
| -@DomName('Cache')
|
| -@Experimental() // untriaged
|
| -@Native("Cache")
|
| -abstract class _Cache extends Interceptor {
|
| - // To suppress missing implicit constructor warnings.
|
| - factory _Cache._() { throw new UnsupportedError("Not supported"); }
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| @DocsEditable()
|
| @DomName('CanvasPathMethods')
|
| @Experimental() // untriaged
|
| @@ -38308,16 +38084,6 @@ abstract class _Response extends Body {
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -@DocsEditable()
|
| -@DomName('ServiceWorker')
|
| -@Experimental() // untriaged
|
| -@Native("ServiceWorker")
|
| -abstract class _ServiceWorker extends EventTarget implements AbstractWorker {
|
| - // To suppress missing implicit constructor warnings.
|
| - factory _ServiceWorker._() { throw new UnsupportedError("Not supported"); }
|
| -
|
| -}
|
| -
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|