Skip to content

Add new "mode" option to FileSystemAccessFileHandle's createSyncAccessHandle and createWritable #479

@nathanmemmott

Description

@nathanmemmott

Proposal

As part of the New Locking Scheme to Enable Multiple Readers and Writers, a new "mode" option is added to both FileSystemAccessFileHandle's createSyncAccessHandle and createWritable functions.

Browser support

Chrome

Tasks

  • createSyncAccessHandle() method
    • Add "options" (FileSystemCreateSyncAccessHandleOptions dictionary) to Parameters
    • Describe the "mode" property, it's possible values ("readwrite", "readonly", "readwrite-unsafe"), and its default value ("readwrite").
  • createWritable() method
    • Add the "mode" property to "options".
    • Describe it, its possible values ("siloed", "exclusive"), and its default value ("siloed").

Dependencies

Additional information

No response

Are you willing to support this work?

Can support with reviews and feedback.

Metadata

Metadata

Labels

Content: Web APIproposalAuto label for new proposals added via the suggestion form

Type

No type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions