Index: third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptions.idl |
diff --git a/third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptions.idl b/third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptions.idl |
index e4ee9b8108955c09827a3cbe1202e27a89e5a925..ad344b2f4d3372925d25a9ef8cc4d77978841ca8 100644 |
--- a/third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptions.idl |
+++ b/third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptions.idl |
@@ -4,7 +4,10 @@ |
// https://w3c.github.io/push-api/#idl-def-PushSubscriptionOptions |
-dictionary PushSubscriptionOptions { |
- boolean userVisibleOnly = false; |
- BufferSource applicationServerKey; |
+[ |
+ Exposed=(Window,ServiceWorker), |
+ RuntimeEnabled=PushMessaging, |
+] interface PushSubscriptionOptions { |
+ readonly attribute boolean userVisibleOnly; |
+ [SameObject] readonly attribute ArrayBuffer? applicationServerKey; |
}; |