Index: Source/modules/push_messaging/PushSubscription.idl |
diff --git a/Source/modules/push_messaging/PushRegistration.idl b/Source/modules/push_messaging/PushSubscription.idl |
similarity index 57% |
rename from Source/modules/push_messaging/PushRegistration.idl |
rename to Source/modules/push_messaging/PushSubscription.idl |
index 243215d9fc20fb200d414d64097ca52d7a21f3df..5dc925b3540fabea16d3f83a5cf4583e4a4ac031 100644 |
--- a/Source/modules/push_messaging/PushRegistration.idl |
+++ b/Source/modules/push_messaging/PushSubscription.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://www.w3.org/TR/push-api/#pushregistration-interface |
+// http://w3c.github.io/push-api/#pushsubscription-interface |
[ |
GarbageCollected, |
RuntimeEnabled=PushMessaging, |
-] interface PushRegistration { |
+] interface PushSubscription { |
readonly attribute DOMString endpoint; |
- readonly attribute DOMString registrationId; |
- [CallWith=ScriptState] Promise<boolean> unregister(); |
+ readonly attribute DOMString subscriptionId; |
+ [CallWith=ScriptState] Promise<boolean> unsubscribe(); |
}; |