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 Exposed=(Window), |
| 7 GarbageCollected, |
| 8 RuntimeEnabled=BackgroundSync, |
7 TypeChecking=Interface, | 9 TypeChecking=Interface, |
8 ] partial interface TestInterface3 { | 10 ] interface SyncManager { |
9 [Conditional=BAR, TypeChecking=Unrestricted] static void voidMethodDocument(
Document document, double d); | 11 [CallWith=ScriptState,ImplementedAs=registerFunction] Promise<SyncRegistrati
on> register(SyncRegistrationOptions options); |
| 12 [CallWith=ScriptState] Promise<sequence<SyncRegistration>> getRegistrations(
); |
| 13 readonly attribute unsigned long minAllowablePeriod; |
10 }; | 14 }; |
OLD | NEW |