I’m testing on both and I’m using a server of my own making (using golang and gorilla websockets lib)
I get the same behaviour - and I do send the protocol back from the server, but now that protocol can be something other than binary
.
I think ideally, if the protocol isn’t specified in params the build shouldn’t include the Sec-WebSocket-Protocol
header at all, but I’m not sure how flexible emscripten is.