OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // https://w3c.github.io/push-api/#idl-def-PushSubscriptionOptions | 5 // https://w3c.github.io/push-api/#idl-def-PushSubscriptionOptions |
6 | 6 |
7 dictionary PushSubscriptionOptions { | 7 [ |
8 boolean userVisibleOnly = false; | 8 Exposed=(Window,ServiceWorker), |
9 BufferSource applicationServerKey; | 9 RuntimeEnabled=PushMessaging, |
10 ] interface PushSubscriptionOptions { | |
11 readonly attribute boolean userVisibleOnly; | |
12 // Mutable by web developer. See https://github.com/w3c/push-api/issues/198. | |
Peter Beverloo
2016/07/08 18:30:12
Please move this to the source code, IDL is not th
johnme
2016/07/13 17:51:57
Done.
| |
13 [SameObject] readonly attribute ArrayBuffer? applicationServerKey; | |
10 }; | 14 }; |
OLD | NEW |