Require taking a lock to remove an entry
a-sully opened this issue · 1 comments
a-sully commented
The removeEntry()
algorithm currently does not lock the removed entry. This means that, for example, a file with an open FileSystemWritableFileStream
may be removed... at least according to the spec. Chromium and Firefox both reject with a NoModificationAllowedError
in this case (and FileSystemWritableFileStream
is not implemented on Safari)
removeEntry()
may remove either a file or a directory. Support for locking a directory is tracked in #137
This also applies to the remove()
method, which is being specified in #9