Index: Source/modules/push_messaging/PushManager.idl |
diff --git a/Source/modules/push_messaging/PushManager.idl b/Source/modules/push_messaging/PushManager.idl |
index cbf2f8fe358f0cc1d7c4080b00d3548740171157..7bd91452b9ad1a1e766449b637fa00105e879a96 100644 |
--- a/Source/modules/push_messaging/PushManager.idl |
+++ b/Source/modules/push_messaging/PushManager.idl |
@@ -2,13 +2,13 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// http://w3c.github.io/push-api/#pushregistrationmanager-interface |
+// https://w3c.github.io/push-api/#pushmanager-interface |
[ |
GarbageCollected, |
RuntimeEnabled=PushMessaging, |
] interface PushManager { |
- [CallWith=ScriptState, ImplementedAs=registerPushMessaging] Promise register(); |
- [CallWith=ScriptState] Promise<PushRegistration?> getRegistration(); |
+ [CallWith=ScriptState] Promise<PushSubscription> subscribe(); |
+ [CallWith=ScriptState] Promise<PushSubscription?> getSubscription(); |
[CallWith=ScriptState] Promise hasPermission(); |
}; |