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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl

Issue 224333003: Blink side of requestSyncEvents() function. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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/serviceworkers/ServiceWorkerGlobalScope.idl
diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
index 751e173c56afacd1238a08643c27f7ac9b6631b8..7463932e9d21fc03f01b2ff19f0800052520c2ec 100644
--- a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
+++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
@@ -36,4 +36,5 @@
attribute EventHandler oninstall;
attribute EventHandler onmessage;
attribute EventHandler onsync;
+ [CallWith=ExecutionContext] void requestSyncEvents(optional boolean requested, optional Dictionary options);
michaeln 2014/04/03 22:29:27 The onsync event seems pretty solid but the regist
jkarlin 2014/04/04 12:05:29 Sync needs to toggle on and off its event listener
};

Powered by Google App Engine
This is Rietveld 408576698