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

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

Issue 723923002: ServiceWorker: Add support for .skipWaiting and controllerchange event(1/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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 ea9a3e8d98bcde984a9276ccc347788d91ad4bbe..58ba4eb10e1d47eaa5f8be5328880c4769372c34 100644
--- a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
+++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
@@ -45,6 +45,8 @@
[RaisesException] void close();
+ [CallWith=ScriptState] Promise skipWaiting();
jsbell 2014/11/13 23:07:51 Make this Promise<void> to match the spec. The ty
+
attribute EventHandler onactivate;
[RuntimeEnabled=ServiceWorkerOnFetch] attribute EventHandler onfetch;
attribute EventHandler oninstall;

Powered by Google App Engine
This is Rietveld 408576698