Index: Source/modules/background_sync/SyncManager.idl |
diff --git a/Source/modules/background_sync/SyncManager.idl b/Source/modules/background_sync/SyncManager.idl |
index 992d4df45fc52ba59369427149393be3ef9cdfab..30f3ada46afd8e94e169bf4d78443cf43c0d9bf6 100644 |
--- a/Source/modules/background_sync/SyncManager.idl |
+++ b/Source/modules/background_sync/SyncManager.idl |
@@ -14,7 +14,7 @@ enum SyncPermissionState { |
RuntimeEnabled=BackgroundSync, |
TypeChecking=Interface, |
] interface SyncManager { |
- [CallWith=ScriptState,ImplementedAs=registerFunction] Promise<SyncRegistration> register([RuntimeEnabled=BackgroundSyncV2] optional SyncRegistrationOptions options); |
+ [CallWith=(ScriptState,ExecutionContext),ImplementedAs=registerFunction] Promise<SyncRegistration> register([RuntimeEnabled=BackgroundSyncV2] optional SyncRegistrationOptions options); |
[CallWith=ScriptState] Promise<SyncRegistration> getRegistration(DOMString tag); |
[CallWith=ScriptState] Promise<sequence<SyncRegistration>> getRegistrations(); |
[RuntimeEnabled=BackgroundSyncV2, CallWith=ScriptState] Promise<SyncPermissionState> permissionState(); |