Chromium Code Reviews| Index: third_party/WebKit/Source/modules/push_messaging/PushManager.idl |
| diff --git a/third_party/WebKit/Source/modules/push_messaging/PushManager.idl b/third_party/WebKit/Source/modules/push_messaging/PushManager.idl |
| index 67ae036057f8bcf41322bee2f92ea939afdea436..985c80464da36c248708e02a81760bfa767d3659 100644 |
| --- a/third_party/WebKit/Source/modules/push_messaging/PushManager.idl |
| +++ b/third_party/WebKit/Source/modules/push_messaging/PushManager.idl |
| @@ -5,9 +5,12 @@ |
| // https://w3c.github.io/push-api/#pushmanager-interface |
| [ |
| - Exposed=(Window,ServiceWorker), |
| + Exposed=(Window,Worker), |
| RuntimeEnabled=PushMessaging, |
| ] interface PushManager { |
| + [SameObject, SaveSameObject] |
|
johnme
2017/05/08 14:36:16
Nit: why are these on a different line, but subscr
Peter Beverloo
2017/05/08 15:00:11
Admittedly because I like being able to copy/paste
johnme
2017/05/08 15:09:27
Acknowledged.
|
| + static readonly attribute FrozenArray<DOMString> supportedContentEncodings; |
| + |
| [CallWith=ScriptState, RaisesException] Promise<PushSubscription> subscribe(optional PushSubscriptionOptionsInit options); |
| [CallWith=ScriptState] Promise<PushSubscription?> getSubscription(); |
| [CallWith=ScriptState, RaisesException] Promise permissionState(optional PushSubscriptionOptionsInit options); |