FileSystemHandle Unique IDs
- Category
- File APIs
- Type
- No developer-visible change
- Status
- No active development (Chrome No active development)
- Intent stage
- Start prototyping
Summary
FileSystemHandle.getUniqueId() generates a uniquely identifying string which can be used as a key, such as for IndexedDB or WebLocks. Currently, FileSystemHandle objects can be serialized by the browser to be stored as values in IndexedDB, but there is no way to generate a string which is guaranteed to be uniquely identifying.
Standards & signals
- Specification: https://github.com/whatwg/fs/pull/46
- Firefox: No signal
- Safari: No signal
- Web developers: Positive
- Tracking bug: https://crbug.com/1342961
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=filesystemhandle-unique-ids
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+FileSystemHandle%20Unique%20IDs
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=FileSystemHandle%20Unique%20IDs
- Baseline status: https://webstatus.dev/?q=FileSystemHandle%20Unique%20IDs