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 AccessHandles to spec #344

Closed
wants to merge 19 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions AccessHandle.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
- [New data access surface](#new-data-access-surface)
- [Locking semantics](#locking-semantics)
- [Open Questions](#open-questions)
- [Naming](#naming)
- [Exposing AccessHandles on all filesystems](#exposing-accesshandles-on-all-filesystems)
- [Assurances on non-awaited consistency](#assurances-on-non-awaited-consistency)
- [Appendix](#appendix)
- [AccessHandle IDL](#accesshandle-idl)
Expand Down Expand Up @@ -184,12 +184,6 @@ observe changes done through the new API, even if a lock is still being held.

## Open Questions

### Naming

The exact name of the new methods hasn’t been defined. The current placeholder
for data access is *createAccessHandle()* and *createSyncAccessHandle()*.
*createUnflushedStreams()* and *createDuplexStream()* have been suggested.

### Exposing AccessHandles on all filesystems

This proposal only currently considers additions to OPFS, but it would probably
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Today, if a web site wants to create experiences involving local files (document
- Clean up if necessary (`URL.revokeObjectURL(a.href)`)

This is also the approach taken in the
[browser-nativefs](https://github.com/GoogleChromeLabs/browser-nativefs)
[browser-fs-access](https://github.com/GoogleChromeLabs/browser-fs-access)
support library.
- Setting `window.location` to `'data:application/octet-stream' + data_stream`.
- Hidden Flash controls to display a “save as” dialog.
Expand Down
Loading