-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
from: GoogleProposed, edited, or co-edited by Google.Proposed, edited, or co-edited by Google.topic: storageSpec relates to storage mechanisms such as cookies, IndexedDB, or LocalStorageSpec relates to storage mechanisms such as cookies, IndexedDB, or LocalStoragetopic: web apisSpec relates to web APIs (entry points for script)Spec relates to web APIs (entry points for script)venue: WHATWG Storage WorkstreamProposal is being reviewed in the WHATWG Storage WorkstreamProposal is being reviewed in the WHATWG Storage Workstream
Description
WebKittens
Title of the spec
Multiple Readers and Writers in File System Access API
URL to the spec
URL to the spec's repository
Issue Tracker URL
No response
Explainer URL
https://github.com/whatwg/fs/blob/main/proposals/MultipleReadersWriters.md
TAG Design Review URL
Mozilla standards-positions issue URL
mozilla/standards-positions#861
WebKit Bugzilla URL
No response
Radar URL
No response
Description
Currently, only one FileSystemSyncAccessHandle may be open at a time per file, preventing an origin from reading the same file from multiple tabs easily. Conversely, multiple FileSystemWritableFileStream can be simultaneously open, letting multiple writers clobber each other.
Introducing new “create” modes for FileSystemSyncAccessHandle and FileSystemWritableFileStream allows opening either multiple readers/writers or an exclusive writer to a file entry, depending on the application's use case.
handle.createSyncAccessHandle({ mode: 'read-only' });
handle.createWritable({ mode: ‘exclusive’ });
Metadata
Metadata
Assignees
Labels
from: GoogleProposed, edited, or co-edited by Google.Proposed, edited, or co-edited by Google.topic: storageSpec relates to storage mechanisms such as cookies, IndexedDB, or LocalStorageSpec relates to storage mechanisms such as cookies, IndexedDB, or LocalStoragetopic: web apisSpec relates to web APIs (entry points for script)Spec relates to web APIs (entry points for script)venue: WHATWG Storage WorkstreamProposal is being reviewed in the WHATWG Storage WorkstreamProposal is being reviewed in the WHATWG Storage Workstream
Type
Projects
Status
Needs assignees