Skip to content

Require taking a lock to remove an entry #138

Description

@a-sully

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions