Index: Source/modules/navigatorconnect/ServicePortCollection.idl |
diff --git a/Source/modules/navigatorconnect/ServicePortCollection.idl b/Source/modules/navigatorconnect/ServicePortCollection.idl |
index 29f0f9d6e4424098ef02b79c36991e9230664c1d..3b7c4f801bfac1f37a53a1dc2a4c19a1ad099df8 100644 |
--- a/Source/modules/navigatorconnect/ServicePortCollection.idl |
+++ b/Source/modules/navigatorconnect/ServicePortCollection.idl |
@@ -7,7 +7,7 @@ |
Exposed=(Window,Worker), |
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 |