WICG / file-system-access

Expose the file system on the user’s device, so Web apps can interoperate with the user’s native applications.
https://wicg.github.io/file-system-access/
Other
654 stars 65 forks source link

FileSystemWritableFileStream.write() freezes browser when writing to samba network drive. #441

Closed kenny-lu-hl closed 6 months ago

kenny-lu-hl commented 6 months ago

I am trying to write files to a samba drive using FileSystemWritableFileStream.write(). For files that are a few megabytes large, the entire browser freezes and becomes non-responsive intermittently (both chrome and edge). The larger the file, the longer the freeze. Writing a 10MB file froze the browser for 30 secs. Eventually the browser unfreezes and files are written successfully.

When writing to a local disk on the client machine instead of samba, the write completes instantaneously.

The samba network connection is slow, but I don't know if or how that would cause freezing. Does anyone know whats causing this?

HolgerJeromin commented 6 months ago

This is not a spec issue but a implementation one. https://issues.chromium.org/issues is probably the correct place to report

kenny-lu-hl commented 6 months ago

Thanks. I will report it there.