Skip to content

FileSystemHandle Unique ID #764

@a-sully

Description

@a-sully

Wotcher TAG!

I'm requesting a TAG review of FileSystemHandle Unique ID for the File System Access API.

Currently, FileSystemHandle objects can be opaquely serialized by the browser to be stored as values in IndexedDB. But there is no way for a site to generate a string from script which is guaranteed to be uniquely identifying for the file referenced by the FileSystemHandle. Several developers have requested this.

In the proposal, FileSystemHandles vend string IDs. The IDs uniquely identify the file that is referenced, but their validity is tied to the site and storage to maintain privacy guarantees.

Further details:

  • I have reviewed the TAG's Web Platform Design Principles
  • The group where the incubation/design work on this is being done (or is intended to be done in the future): whatwg
  • The group where standardization of this work is intended to be done ("unknown" if not known): whatwg
  • Existing major pieces of multi-stakeholder review or discussion of this design: whatwg/fs/pull/46. This is still an early proposal and we haven’t received feedback yet
  • Major unresolved issues with or opposition to this design:
  • This work is being funded by: Google

We'd prefer the TAG provide feedback as (please delete all but the desired option):

🐛 open issues in our GitHub repo for each point of feedback

Metadata

Metadata

Assignees

Labels

Progress: pending external feedbackThe TAG is waiting on response to comments/questions asked by the TAG during the reviewResolution: validatedThis is for early reviews where we largely support the direction the work is going in.Review type: CG early reviewAn early review of general direction from a Community GroupVenue: WHATWGVenue: WICG

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions