Index: modules/serviceworkers/ServiceWorkerGlobalScope.idl |
diff --git a/modules/serviceworkers/ServiceWorkerGlobalScope.idl b/modules/serviceworkers/ServiceWorkerGlobalScope.idl |
index 2319e5b5b87d62533ba13614881707613fb8dac7..df412a74aed60fa7b1149dbd89eae577348e5d48 100644 |
--- a/modules/serviceworkers/ServiceWorkerGlobalScope.idl |
+++ b/modules/serviceworkers/ServiceWorkerGlobalScope.idl |
@@ -33,16 +33,11 @@ |
[ |
Exposed=ServiceWorker, |
Global=(Worker,ServiceWorker), |
- TypeChecking=Interface, |
] interface ServiceWorkerGlobalScope : WorkerGlobalScope { |
readonly attribute Clients clients; |
readonly attribute ServiceWorkerRegistration registration; |
- // https://github.com/mkruisselbrink/navigator-connect/blob/gh-pages/docs/api-idea.md#persisted-messageports |
- // TODO(mek): Link to actual spec when this is added there, and decide if this is the right place for this. |
- [RuntimeEnabled=NavigatorConnect] readonly attribute StashedPortCollection ports; |
- |
[CallWith=ScriptState, RaisesException] Promise<Response> fetch(RequestInfo input, optional Dictionary init); |
[RaisesException] void close(); |
@@ -53,4 +48,5 @@ |
attribute EventHandler onfetch; |
attribute EventHandler oninstall; |
attribute EventHandler onmessage; |
+ [RuntimeEnabled=ForeignFetch] attribute EventHandler onforeignfetch; |
}; |