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

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

Issue 505063002: ServiceWorker: throw when close() or terminate() called (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove uses of 'close' within fetch tests Created 6 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/ServiceWorkerGlobalScope.idl
diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
index 73aa2df48f3b1a20fb99dc94118d5e9e5b8ca0aa..2b4ec9fe53dc672530ce7784e3633635daa4a46a 100644
--- a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
+++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
@@ -43,6 +43,8 @@
[CallWith=ScriptState] Promise fetch(DOMString request, optional Dictionary requestInitDict);
[CallWith=ScriptState] Promise fetch(Request request, optional Dictionary requestInitDict);
+ [RaisesException] void close();
+
attribute EventHandler onactivate;
attribute EventHandler onfetch;
attribute EventHandler oninstall;

Powered by Google App Engine
This is Rietveld 408576698