Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with Firefox #152

Open
jsarenik opened this issue Jan 8, 2020 · 1 comment
Open

Does not work with Firefox #152

jsarenik opened this issue Jan 8, 2020 · 1 comment
Assignees

Comments

@jsarenik
Copy link

jsarenik commented Jan 8, 2020

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.

@nwtgck
Copy link
Owner

nwtgck commented Jan 8, 2020

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

// Wait for body being complete
await res.body.pipeTo(new WritableStream({}));

// Wait for body being complete
await res.body.pipeTo(new WritableStream({}));

@nwtgck nwtgck self-assigned this Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants