oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
74.27k stars 2.77k forks source link

[WebSocket] chrome-remote-interface working in Node, but not Bun #9505

Open aleclarson opened 8 months ago

aleclarson commented 8 months ago

What version of Bun is running?

1.0.29

What steps can reproduce the bug?

https://github.com/aleclarson/repro/tree/bun-cdp#readme

@paperdave

EmielM commented 8 months ago

Quick guess: Bun doesn't support some of the primitives used by websocket libraries via the http node interface. This issue could be related: https://github.com/theturtle32/WebSocket-Node/issues/454