jimmywarting / StreamSaver.js

StreamSaver writes stream to the filesystem directly asynchronous
https://jimmywarting.github.io/StreamSaver.js/example.html
MIT License
4k stars 415 forks source link

invalid error: [StreamSaver] You didn't send a messageChannel #338

Closed tra4less closed 3 months ago

tra4less commented 7 months ago

Streamsaver focuses messages generated by other libraries, causing invalid error

https://github.com/jimmywarting/StreamSaver.js/blob/5b372f7ba5f1e82ef80e2466023930ee2c616a28/mitm.html#L61-L71

JYbill commented 5 months ago

234

I have solved the problem in this way, maybe you can try it.

caenderl commented 5 months ago

The download works and if this error would appear only once on console, it would be okay. But it prints the error like crazy and my only workaround at the moment is a page reload after the download which is definitely not a solution. Happy for any possibly better workaround or a solution.