Skip to content

Commit

Permalink
Enable FileSystemAccessLocal for android
Browse files Browse the repository at this point in the history
Android implementation is complete.
go/android-filesystem-api-design
launch/4341240

WebView has ongoing work to update WebChromeClient.FileChooserParams
to make it clearer when files are being requested via the FSA API
for editing such as window.showOpenFilePicker() vs other sources such
as input-file, but it is still currently possible to use with
WebChromeClient#onShowFileChooser().

Bug: 40101963
Change-Id: Ib499127c25d131d5cfa782662739ee45832ce82f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5832590
Reviewed-by: Nate Fischer <ntfschr@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Joel Hockey <joelhockey@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1374181}
  • Loading branch information
Joel Hockey authored and pull[bot] committed Oct 28, 2024
1 parent afbef60 commit 1412205
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 52 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,6 @@ interface EyeDropper
interface HTMLInputElement : HTMLElement
getter webkitEntries

# File System Access API not supported on Android, crbug.com/1011535
interface DataTransferItem
method getAsFileSystemHandle

interface MediaDevices : EventTarget
method getDisplayMedia
method setCaptureHandleConfig
Expand Down Expand Up @@ -251,9 +247,6 @@ interface DocumentPictureInPictureEvent : Event
method getDigitalGoodsService # Digital Goods API, crbug.com/1312827
method webkitRequestFileSystem # File System API, crbug.com/589843
method webkitResolveLocalFileSystemURL # File System API, crbug.com/589843
method showOpenFilePicker # File System Access API, crbug.com/1011535
method showSaveFilePicker # File System Access API, crbug.com/1011535
method showDirectoryPicker # File System Access API, crbug.com/1011535
method queryLocalFonts # Local Font Access API, crbug.com/1326898
getter sharedStorage # Shared storage API
getter fence # Fenced frames API
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1962,7 +1962,7 @@
{
// Non-OPFS File System Access API.
name: "FileSystemAccessLocal",
status: {"Android": "test", "default": "stable"},
status: {"default": "stable"},
},
{
name: "FileSystemAccessLockingScheme",
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 1412205

Please sign in to comment.