piping-chat-web icon indicating copy to clipboard operation
piping-chat-web copied to clipboard

Does not work with Firefox

Open jsarenik opened this issue 5 years ago • 1 comments

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 avatar Jan 08 '20 11:01 jsarenik

@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 WritableStreams 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

nwtgck avatar Jan 08 '20 14:01 nwtgck