We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d435383 commit f7c9f3fCopy full SHA for f7c9f3f
webtransport/idlharness.any.js
@@ -16,5 +16,9 @@ idl_test(
16
// ReceiveStream
17
});
18
self.webTransport = new WebTransport("https://example.com/");
19
+ // `ready` and `closed` promises will be rejected due to connection error.
20
+ // Catches them to avoid unhandled rejections.
21
+ self.webTransport.ready.catch(() => {});
22
+ self.webTransport.closed.catch(() => {});
23
}
24
);
0 commit comments