Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WasmFS: Open and close files in the JS API _wasmfs_write_file (#19397)
The memory backend appears to allow lockedFile.write without .open first, but other backends like Node do not. In general, it seems correct to open the file before writing and close it after, and the read JS API call does so, so this fixes the write one.
- Loading branch information