GoogleChromeLabs / browser-fs-access

File System Access API with legacy fallback in the browser
https://googlechromelabs.github.io/browser-fs-access/demo/
Apache License 2.0
1.38k stars 84 forks source link

Fix reader management #104

Closed tmcw closed 2 years ago

tmcw commented 2 years ago

Discussion in https://github.com/GoogleChromeLabs/browser-fs-access/issues/100#issuecomment-1100121554

I think that this is a bug that breaks file saving for all legacy browsers using streams: the incoming stream is closed before it is fully read into the other ReadableStream instance.