piping-chat-web
piping-chat-web copied to clipboard
Does not work with Firefox
Testing with Firefox 71.0 connected to Google Chrome.
From Firefox to Chrome the message is sent, but shown twice on Chrome. From Chrome to Firefox the message does not appear in Firefox.
Two Firefox (one of them in Private mode) do not show each other's messages at all.
@jsarenik Thanks for opening this issue! (I remembered you said in a comment before :D )
In my quick investigation, Firefox doesn't have WritableStream
. I'll search for polyfill or consider whether WritableStream
can be removed or not for this project.
I found WritableStream
s are used only in the following for the same purpose. They seem to be easy to replace with code without WritableStream
.
https://github.com/nwtgck/piping-chat-web/blob/093d7a7ccb89c0e5860b6641355a6dc4cca7f399/src/PipingChatter.ts#L205-L206
https://github.com/nwtgck/piping-chat-web/blob/093d7a7ccb89c0e5860b6641355a6dc4cca7f399/src/PipingChatter.ts#L430-L431