Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add locking mode options to FileSystemFileHandle #24038

Merged

Conversation

chrisdavidmills
Copy link
Contributor

Summary

Chrome 121 supports a mode property on the options objects that can be specified as arguments to FileSystemFileHandle.createSyncAccessHandle() and FileSystemFileHandle.createWritable(). See the associated ChromeStatus entry.

These features are not yet in the FileSystem API spec — see whatwg/fs#151 for the relevant PR. Consequently, I have marked these additions as "standard_track": false, and will mark them as non-standard in the associated docs.

See also the New Locking Scheme to Enable Multiple Readers and Writers explainer for more information on how it works.

Test results and supporting details

Related issues

@github-actions github-actions bot added the data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Aug 5, 2024
@queengooborg queengooborg merged commit 5fb0d31 into mdn:main Sep 6, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants