Index: Source/modules/background_sync/PeriodicSyncManager.idl |
diff --git a/Source/modules/background_sync/PeriodicSyncManager.idl b/Source/modules/background_sync/PeriodicSyncManager.idl |
index d7c7ac0d80e66d5aff446165e16332678dec7246..223c784535b3b9dc8d382b1bdad2ca4183742cc8 100644 |
--- a/Source/modules/background_sync/PeriodicSyncManager.idl |
+++ b/Source/modules/background_sync/PeriodicSyncManager.idl |
@@ -8,7 +8,7 @@ |
RuntimeEnabled=BackgroundSyncPeriodic, |
TypeChecking=Interface, |
] interface PeriodicSyncManager { |
- [CallWith=ScriptState,ImplementedAs=registerFunction] Promise<PeriodicSyncRegistration> register([RuntimeEnabled=BackgroundSyncV2] optional PeriodicSyncRegistrationOptions options); |
+ [CallWith=(ScriptState,ExecutionContext),ImplementedAs=registerFunction] Promise<PeriodicSyncRegistration> register([RuntimeEnabled=BackgroundSyncV2] optional PeriodicSyncRegistrationOptions options); |
[CallWith=ScriptState] Promise<PeriodicSyncRegistration> getRegistration(DOMString tag); |
[CallWith=ScriptState] Promise<sequence<PeriodicSyncRegistration>> getRegistrations(); |
[RuntimeEnabled=BackgroundSyncV2, CallWith=ScriptState] Promise<SyncPermissionState> permissionState(); |