Skip to content

Commit

Permalink
Add file system access API (#1713)
Browse files Browse the repository at this point in the history
  • Loading branch information
captainbrosset authored Sep 3, 2024
1 parent d9370c1 commit 918adf1
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 11 deletions.
11 changes: 0 additions & 11 deletions features/draft/spec/file-system-access.yml

This file was deleted.

13 changes: 13 additions & 0 deletions features/file-system-access.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: File system access
description: The `showOpenFilePicker()`, `showDirectoryPicker()`, and `showSaveFilePicker()` methods request access to files and directories on the user's device and returns a handle for reading and writing to them.
spec: https://wicg.github.io/file-system-access/
caniuse: native-filesystem-api
group: file-system
compat_features:
# api.DataTransferItem.getAsFileSystemHandle is likely to be part of a drag and drop feature, but it can't be in both features at once. See https://github.com/web-platform-dx/web-features/issues/1173 for details
- api.DataTransferItem.getAsFileSystemHandle
- api.FileSystemHandle.queryPermission
- api.FileSystemHandle.requestPermission
- api.Window.showDirectoryPicker
- api.Window.showOpenFilePicker
- api.Window.showSaveFilePicker
File renamed without changes.
1 change: 1 addition & 0 deletions features/origin-private-file-system.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: Origin private file system
description: The `navigator.storage.getDirectory()` method returns a `FileSystemDirectoryHandle` that is restricted to a specific origin and invisible to the user's actual file system for faster file-based applications, such as SQLite databases.
spec: https://fs.spec.whatwg.org/#origin-private-file-system
group: file-system
1 change: 1 addition & 0 deletions groups/file-system.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
name: File system access

0 comments on commit 918adf1

Please sign in to comment.