Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: Source/modules/background_sync/PeriodicSyncManager.idl

Issue 1309393003: [Background Sync] Allow sync manager access from uncontrolled clients (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing comment Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
« no previous file with comments | « Source/modules/background_sync/PeriodicSyncManager.cpp ('k') | Source/modules/background_sync/SyncManager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698