| Index: Source/modules/background_sync/PeriodicSyncRegistrationOptions.idl
|
| diff --git a/Source/modules/background_sync/ServiceWorkerRegistrationSync.idl b/Source/modules/background_sync/PeriodicSyncRegistrationOptions.idl
|
| similarity index 51%
|
| copy from Source/modules/background_sync/ServiceWorkerRegistrationSync.idl
|
| copy to Source/modules/background_sync/PeriodicSyncRegistrationOptions.idl
|
| index 7391d985d29da763bac9afc09adcb4ecf2987cb5..97c0a8233df25f30be0f50b0e1c7213a3dee5f35 100644
|
| --- a/Source/modules/background_sync/ServiceWorkerRegistrationSync.idl
|
| +++ b/Source/modules/background_sync/PeriodicSyncRegistrationOptions.idl
|
| @@ -3,8 +3,10 @@
|
| // found in the LICENSE file.
|
|
|
| [
|
| - Exposed=(Window, ServiceWorker),
|
| RuntimeEnabled=BackgroundSync,
|
| -] partial interface ServiceWorkerRegistration {
|
| - [MeasureAs=BackgroundSync] readonly attribute SyncManager syncManager;
|
| +] dictionary PeriodicSyncRegistrationOptions {
|
| + DOMString tag;
|
| + unsigned long minPeriod = 0;
|
| + SyncNetworkState networkState = "network-online";
|
| + SyncPowerState powerState = "auto";
|
| };
|
|
|