ds...@chromium.org, mem...@chromium.org
https://github.com/whatwg/fs/blob/main/proposals/FileSystemObserver.md
https://github.com/whatwg/fs/pull/165
[Design Doc] File System Observer
The FileSystemObserver interface notifies websites of changes to the file system. Sites observe changes to files and directories to which the user has previously granted permission, in the user's local device (as specified in WICG/file-system-access) or in the Bucket File System (as specified in whatwg/fs), and are notified of basic change info, such as the change type.
https://github.com/w3ctag/design-reviews/issues/868
Issues addressed
FileSystemObserver interface
FileSystemObserver
https://github.com/whatwg/fs/blob/main/proposals/FileSystemObserver.md
kV8FileSystemObserver_Constructor
Gecko: Positive (https://github.com/mozilla/standards-positions/issues/942)
WebKit: No signal (https://github.com/WebKit/standards-positions/issues/291)
Web developers: Strongly positive (https://github.com/WICG/file-system-access/issues/72)
Use case from Origin Trial: https://insiders.vscode.dev
Sites are only able to observe a file or a directory which the user has granted permission to.
Not enabled on WebView
New WebIDL interface and attributes are available on DevTools console.
No. Desktop only.
This feature relies on FileSystemHandle object from whatwg/fs, which was only available on desktop until M132 when it was shipped on Android. Future work remains to enable FileSystemObserver API on Android.
Yes
file-system-observer
FileSystemObserver
False
https://issues.chromium.org/40105284
https://launch.corp.google.com/launch/4261040
There is an open question about whether `FileSystemChangeRecord` should be an interface or a dictionary.
https://chromestatus.com/feature/4622243656630272?gate=5657135488172032
Intent to Prototype: https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGnvaEXNQ0OUo61DXeuhzARPyOu_E6vA6VsD6%2BBwVDGW_0BQJw%40mail.gmail.com
Intent to Experiment: https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAPhTbOjWuKV_MpRhG3bZ3Oj%3Dy5eQCvdR6iGBDrM%2BqTGpwgiWGQ%40mail.gmail.com
This intent message was generated by Chrome Platform Status.
Contact emailsds...@chromium.org, mem...@chromium.org
Explainerhttps://github.com/whatwg/fs/blob/main/proposals/FileSystemObserver.md
Specification
Design docs[Design Doc] File System Observer
SummaryThe FileSystemObserver interface notifies websites of changes to the file system. Sites observe changes to files and directories to which the user has previously granted permission, in the user's local device (as specified in WICG/file-system-access) or in the Bucket File System (as specified in whatwg/fs), and are notified of basic change info, such as the change type.
Blink component
TAG reviewhttps://github.com/w3ctag/design-reviews/issues/868
TAG review statusIssues addressed
Origin Trial NameFileSystemObserver interface
Chromium Trial NameFileSystemObserver
Origin Trial documentation linkhttps://github.com/whatwg/fs/blob/main/proposals/FileSystemObserver.md
WebFeature UseCounter namekV8FileSystemObserver_Constructor
RisksInteroperability and Compatibility
Thanks for working on this!! :)On Wednesday, December 18, 2024 at 4:33:10 AM UTC+1 ds...@google.com wrote:Contact emailsds...@chromium.org, mem...@chromium.org
Explainerhttps://github.com/whatwg/fs/blob/main/proposals/FileSystemObserver.md
SpecificationWhat's blocking the PR from landing?
On Wed, Dec 18, 2024 at 10:46 AM Yoav Weiss (@Shopify) <yoav...@chromium.org> wrote:Thanks for working on this!! :)On Wednesday, December 18, 2024 at 4:33:10 AM UTC+1 ds...@google.com wrote:Contact emailsds...@chromium.org, mem...@chromium.org
Explainerhttps://github.com/whatwg/fs/blob/main/proposals/FileSystemObserver.md
SpecificationWhat's blocking the PR from landing?There is one open question about whether FileSystemChangeRecord should be an interface or a dictionary, which we plan on shipping with a dictionary first so that it's easy to support the switch to an interface, if it happens.Other than that, it's just generally been taking a while to get replies/approval. :)
LGTM2
--
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+...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOmohS%2B0PYch5TTGpYc9pjsdHSkcSkVWU%3D1yBzwOXkLgY-q94A%40mail.gmail.com.
LGTM3
/Daniel
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/1d4c688f-d298-415a-b3e2-a4fa90bad664%40chromium.org.