Skip to content

Require taking a lock to remove an entry #138

@a-sully

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions