Index: Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl |
diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl |
index af5b9cf3817a4e0267d25ec66db743978e5ff57a..47321c9258567f33efb0223582658175f61884f5 100644 |
--- a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl |
+++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl |
@@ -40,6 +40,10 @@ |
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(); |