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

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: update property tests Created 6 years 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 7d7b76bd816e0c90287a3239822896327e415c04..92291c65e4f1e77e300f59355cf6b807fe18196a 100644
--- a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
+++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
@@ -45,6 +45,8 @@ typedef (Request or USVString) RequestInfo;
[RaisesException] void close();
+ [CallWith=ScriptState] Promise skipWaiting();
+
attribute EventHandler onactivate;
[RuntimeEnabled=ServiceWorkerOnFetch] attribute EventHandler onfetch;
attribute EventHandler oninstall;

Powered by Google App Engine
This is Rietveld 408576698