service_worker 0.1.0 service_worker: ^0.1.0 copied to clipboard
Service Worker API
Changelog #
0.0.16 #
- Remove 'implements' from JS facade methods, as it seems to break with dart2js.
0.0.15 #
- Implement new methods for classes that implement
Event
.
0.0.14 #
- Don't return
ServiceWorker
instances when the underlying JS object is null. - Mask types from JS facade, to prevent type check errors in Dartium.
0.0.13 #
- expose
Notification.close()
- expose
ServiceWorkerClientsMatchOptions
0.0.12 #
- expose keys in
PushSubscription
0.0.11 #
- expose
ServiceWorkerRegistration.jsObject
- fix a few typing bug
0.0.10 #
- export ShowNotificationAction
0.0.9 #
PushManager.hasPermission()
is a deprecated API and it doesn't work in Chrome anymore, clients should usepermissionState()
instead.
0.0.8 #
- ServiceWorkerClient.postMessage() to use List as transfer objects parameter.
- ServiceWorker.postMessage(): any Transferable object can be set, not only MessagePorts.
0.0.7 #
- removed Worker interface from JS facade, solves Dartium issue