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 [ | 5 [ |
6 Conditional=FOO, | 6 //FIXME: Expose on ServiceWorker as well |
Michael van Ouwerkerk
2015/03/02 14:19:11
Why is this not exposed on ServiceWorker yet?
iclelland
2015/03/05 04:32:49
I just wasn't sure if there were complications aro
| |
7 Exposed=(Window), | |
8 GarbageCollected, | |
9 RuntimeEnabled=BackgroundSync, | |
7 TypeChecking=Interface, | 10 TypeChecking=Interface, |
8 ] partial interface TestInterface3 { | 11 ] interface SyncManager { |
9 [Conditional=BAR, TypeChecking=Unrestricted] static void voidMethodDocument( Document document, double d); | 12 [CallWith=ScriptState,ImplementedAs=registerFunction] Promise<SyncRegistrati on> register(optional SyncRegistrationOptions options); |
13 [CallWith=ScriptState] Promise<sequence<SyncRegistration>> getRegistrations( ); | |
14 readonly attribute unsigned long minAllowablePeriod; | |
10 }; | 15 }; |
OLD | NEW |