| 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]
|
| + 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);
|
|
|