You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
EMSCRIPTEN_FETCH_STREAM_DATA fails on chrome #7090
Since moz-chunked-arraybuffer is not supported on chrome this line ends up setting responceType to '' which then confuses the later code which expects it to be an arraybuffer.
The fix I have working is to only try to use moz-chunked-arraybuffer on firefox and on chrome fall back to arraybuffer. This result is that the data is not actually streamed but all arrives in the final onprogess callback.
The alternative would simply be to fail with some kind of unsupported error on non-firefox browsers when the user tries to use EMSCRIPTEN_FETCH_STREAM_DATA. I think I prefer the former fix.
Just ran into this and it's a bit annoying. I've created a PR to update the documentation.
Personally I think that whatever we decide to do with this we need to spit out a console warning to inform people that the data is not actually streaming, otherwise the behaviour will confuse people.
This issue has been automatically marked as stale because there has been no activity in the past year. It will be closed automatically if no further activity occurs in the next 7 days. Feel free to re-open at any time if this issue is still relevant.
Activity
VirtualTim commentedon May 16, 2019
Just ran into this and it's a bit annoying. I've created a PR to update the documentation.
Personally I think that whatever we decide to do with this we need to spit out a console warning to inform people that the data is not actually streaming, otherwise the behaviour will confuse people.
stale commentedon May 15, 2020
This issue has been automatically marked as stale because there has been no activity in the past year. It will be closed automatically if no further activity occurs in the next 7 days. Feel free to re-open at any time if this issue is still relevant.