Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(735)

Unified Diff: third_party/WebKit/Source/modules/push_messaging/PushManager.idl

Issue 2863443002: Implement and ship PushManager.supportedContentEncodings (Closed)
Patch Set: Implement and ship PushManager.supportedContentEncodings Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698