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

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

Issue 1256133002: Service Worker: Correct Web IDL of ExtendableEvent.waitUntil method. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use |ScriptPromise| instead of |ScriptPromise&|. Created 5 years, 5 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/ExtendableEvent.idl
diff --git a/Source/modules/serviceworkers/ExtendableEvent.idl b/Source/modules/serviceworkers/ExtendableEvent.idl
index df1bc885b9cf090440d1c0addeae378f30c38955..a3b5686b06b348847860d7bcc894807c9608b48a 100644
--- a/Source/modules/serviceworkers/ExtendableEvent.idl
+++ b/Source/modules/serviceworkers/ExtendableEvent.idl
@@ -34,5 +34,5 @@
Exposed=ServiceWorker,
TypeChecking=Interface,
] interface ExtendableEvent : Event {
- [CallWith=ScriptState, RaisesException] void waitUntil(any value);
+ [CallWith=ScriptState, RaisesException] void waitUntil(Promise<any> f);
};

Powered by Google App Engine
This is Rietveld 408576698