GoogleChrome / GoogleChrome/samples
[webtransport] opening a bidirectional stream triggers exception
- Dominant language
- JavaScript
- Stars
- 5.9k
- Forks
- 2.4k
- Avg merge
- 24m
- Merged PRs (30d)
- 2
Description
From the test page https://googlechrome.github.io/samples/webtransport/client.html, when opening a bidirectional webtransport stream, an exception is triggered that prevents from receiving data from the server.
To reproduce, from https://googlechrome.github.io/samples/webtransport/client.html
- connect to your webtransport server
- enter some content in the textarea input, select `Open a bidirectional stream` then click `Send data`
**result:**
- a bidirectional webtransport stream is established, data can be sent but not received
- in the JS console, the exception below is triggered:
`Uncaught (in promise) TypeError: stream.pipeThrough is not a function`
**what is expected:**
- a bidirectional webtransport stream is established, data can be sent and received and no exception is shown in the JS console (I'm testing with a simple webtransport server that echoes back any received data)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.