Index: Source/modules/push_messaging/PushEvent.idl |
diff --git a/Source/modules/push_messaging/NavigatorPushManager.idl b/Source/modules/push_messaging/PushEvent.idl |
similarity index 62% |
copy from Source/modules/push_messaging/NavigatorPushManager.idl |
copy to Source/modules/push_messaging/PushEvent.idl |
index 26db0dddc171d946dab70ea59e2202a465f47803..a6a03ff8d7895445e68bfcec475fc5db9afcf71d 100644 |
--- a/Source/modules/push_messaging/NavigatorPushManager.idl |
+++ b/Source/modules/push_messaging/PushEvent.idl |
@@ -3,7 +3,8 @@ |
// found in the LICENSE file. |
[ |
+ EventConstructor, |
RuntimeEnabled=PushMessaging, |
-] partial interface Navigator { |
- readonly attribute PushManager push; |
+] interface PushEvent : Event { |
+ [InitializedByEventConstructor] readonly attribute DOMString data; |
}; |