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

Unified Diff: Source/modules/background_sync/SyncManager.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/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();
« no previous file with comments | « Source/modules/background_sync/SyncManager.cpp ('k') | public/platform/modules/background_sync/WebSyncProvider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698