OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 [ |
| 6 Exposed=(Window,ServiceWorker), |
| 7 GarbageCollected, |
| 8 RuntimeEnabled=BackgroundSync, |
| 9 TypeChecking=Interface, |
| 10 ] interface SyncManager { |
| 11 [CallWith=ScriptState,ImplementedAs=registerFunction] Promise<SyncRegistrati
on> register(optional SyncRegistrationOptions options); |
| 12 [CallWith=ScriptState] Promise<SyncRegistration> getRegistration(DOMString i
d); |
| 13 [CallWith=ScriptState] Promise<sequence<SyncRegistration>> getRegistrations(
); |
| 14 readonly attribute unsigned long minAllowablePeriod; |
| 15 }; |
OLD | NEW |