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

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

Issue 1260833003: Service Worker: (Re-commit) Make ServiceWorkerRegistration.update() return a promise. (Blink 1/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove |this| for calling its own method. 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/serviceworkers/ServiceWorkerRegistration.idl
diff --git a/Source/modules/serviceworkers/ServiceWorkerRegistration.idl b/Source/modules/serviceworkers/ServiceWorkerRegistration.idl
index c88cb42366a65c4624a7a5a91d8bd6c7e0a79849..982e93a48612018a5105cf7b10a24cf018b36a84 100644
--- a/Source/modules/serviceworkers/ServiceWorkerRegistration.idl
+++ b/Source/modules/serviceworkers/ServiceWorkerRegistration.idl
@@ -15,7 +15,7 @@
readonly attribute USVString scope;
- [CallWith=ScriptState, RaisesException] void update();
+ [CallWith=ScriptState] Promise<void> update();
[CallWith=ScriptState] Promise<boolean> unregister();
attribute EventHandler onupdatefound;
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerRegistration.cpp ('k') | public/platform/WebServiceWorkerRegistration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698