Difference between revisions of "Origin Private File System"
(Created page with "==Full Title or Meme== File systems that are only available to web sites from a common origin as that is Defined. ==Solutions== ===Origin Private File System (OPFS) on Androi...") |
(No difference)
|
Revision as of 15:31, 1 October 2022
Contents
Full Title or Meme
File systems that are only available to web sites from a common origin as that is Defined.
Solutions
Origin Private File System (OPFS) on Android
Contact emails 'Daseul Lee' Sep 21, 2022, 12:10 PM (10 days ago) dslee@google.com
Specification
https://wicg.github.io/file-system-access/#sandboxed-filesystem
Design docs
https://web.dev/file-system-access/#accessing-the-origin-private-file-system
Summary
Enable the Origin Private File System (OPFS) part of File System Access API on Android. This includes all of the File System Access (FSA) API surface, minus show*Picker() methods and Drag-and-Drop API integration.
With FSA API on OPFS, a site can access its per-origin, private file system and are able to perform file operations via `FileSystemSyncAccessHandle` with improved performance.
The original API, including both OPFS and non-OPFS, was shipped in M86 for desktop, and the extension with SyncAccessHandle was shipped in M102.
https://chromestatus.com/feature/6284708426022912
https://chromestatus.com/feature/5702777582911488
Blink component Blink>Storage>FileSystem
Search tags
OPFS, FileSystemAccess
TAG review
This API has been shipped on Windows, Mac, Linux and Chrome OS, with two parts. The API to be shipped on Android is the same, thus relying on the previously completed TAG reviews:
- File System Access API: https://github.com/w3ctag/design-reviews/issues/390
- Access Handle: https://github.com/w3ctag/design-reviews/issues/664
TAG review status
Completed
Risks
Interoperability and Compatibility
Gecko: In development (https://bugzilla.mozilla.org/show_bug.cgi?id=1748667)
WebKit: In development (https://bugs.webkit.org/show_bug.cgi?id=231706)
Web developers: Strongly positive (https://crbug.com/1011535)
Other signals:
WebView application risks
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
No, it does not change any existing APIs but to enable a new one.
Debuggability Basic tooling: Autocomplete works as described in "New WebIDL/DOM interfaces and attributes".
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)? Yes
This feature was initially launched on desktop, and this proposal includes Android Chrome and Android WebView.
Is this feature fully tested by web-platform-tests? No
Web Platform Tests are not available on Android.
Flag name
FileSystemAccessOriginPrivate
Requires code in //chrome?
False
Tracking bug
https://bugs.chromium.org/p/chromium/issues/detail?id=1354273
Estimated milestones
107
Anticipated spec changes
No spec changes. This API has shipped on other platforms, and the proposal is to enable the existing API on Android.
Link to entry on the Chrome Platform Status https://chromestatus.com/feature/5079634203377664
This intent message was generated by Chrome Platform Status.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAPscNz74-qpi-FMenmq0bs614aiUore60G2yyF0PdXO6KiYwkQ%40mail.gmail.com.
Yoav Weiss Sep 21, 2022, 9:04 PM (10 days ago) LGTM1 To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfVRNiZN7KnJEmPsdtq4kJzZZ%3DKSdUUjLSEAm7e92U30Cg%
Mike Taylor Sep 22, 2022, 5:33 AM (9 days ago) LGTM2 (The answer should probably be yes here, I think.) Out of curiosity, do we have (manual?) tests that cover the DnD functionality that this intent does not
Marijn Kruisselbrink Sep 22, 2022, 11:00 AM (9 days ago) There are browser tests for the DnD functionality. Chrome's web platform test infrastructure bypasses so much of chrome's drag&drop implementation that even if
'Daseul Lee' via blink-dev Sep 23, 2022, 10:12 AM (8 days ago) Thanks for the review! WPT is no longer available to run on Android. It looks like there is some coverage for Drag-and-Drop, but as Marijn mentioned, it doesn't
Mike West Sep 26, 2022, 12:05 AM (5 days ago) to ds...@google.com, blink-dev, Mike, Yoav, Ayu, Austin, ajayra...@google.com, Joshua, Marijn
LGTM3.
-mike To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/ded412c8-0757-4446-b364-0b7d52a25a90n%40chromium.org.