Index: Source/modules/navigatorconnect/ServicePortCollection.idl |
diff --git a/Source/modules/navigatorconnect/ServicePortCollection.idl b/Source/modules/navigatorconnect/ServicePortCollection.idl |
index 29f0f9d6e4424098ef02b79c36991e9230664c1d..23242adfe4d1279be75018852ffeef19a25b4991 100644 |
--- a/Source/modules/navigatorconnect/ServicePortCollection.idl |
+++ b/Source/modules/navigatorconnect/ServicePortCollection.idl |
@@ -5,9 +5,11 @@ |
// https://mkruisselbrink.github.io/navigator-connect/#idl-def-ServicePortCollection |
[ |
Exposed=(Window,Worker), |
+ GarbageCollected, |
+ TypeChecking=Interface, |
RuntimeEnabled=NavigatorConnect, |
] interface ServicePortCollection : EventTarget { |
- [CallWith=ScriptState] Promise<ServicePort> connect(DOMString url, optional ServicePortConnectOptions options); |
+ [CallWith=ScriptState, RaisesException] Promise<ServicePort> connect(DOMString url, optional ServicePortConnectOptions options); |
[CallWith=ScriptState] Promise<ServicePort> match(ServicePortMatchOptions options); |
[CallWith=ScriptState] Promise<sequence<ServicePort>> matchAll(optional ServicePortMatchOptions options); |
// TODO(mek): The spec has [Exposed=ServiceWorker] for onconnect, this is not currently |