OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 [ | 5 [ |
6 RuntimeEnabled=ServiceWorker, | |
dominicc (has gone to gerrit)
2014/05/22 06:52:28
Does this work? I thought you separated multiple v
Michael van Ouwerkerk
2014/05/23 18:32:03
Gating it on PushMessaging seems to be sufficient.
dominicc (has gone to gerrit)
2014/05/26 02:31:44
I agree that gating it on PushMessaging is fine; F
| |
6 RuntimeEnabled=PushMessaging, | 7 RuntimeEnabled=PushMessaging, |
7 ] partial interface Navigator { | 8 ] partial interface ServiceWorkerGlobalScope { |
8 readonly attribute PushManager push; | 9 attribute EventHandler onpush; |
9 }; | 10 }; |
OLD | NEW |