api.FileSystem - File and Directory Entries API is (apparently?) now deprecated on Chrome
Nobody has claimed this yet.
- Dominant language
- JSON
- Stars
- 5.8k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 186
Description
What type of issue is this?
Missing compatibility data
What information was incorrect, unhelpful, or incomplete?
Every interface for the File and Directory Entries API is listed as fully supported by Chrome. This is no longer true.
This includes:
FileSystemDirectoryEntryFileSystemDirectoryReaderFileSystemEntryFileSystemFileEntryFileSystem
What browsers does this problem apply to, if applicable?
Chromium (Chrome, Edge 79+, Opera, Samsung Internet)
What did you expect to see?
Some kind of obvious warning that this API is no longer in use on modern versions of Chrome. Chrome no longer even recognizes the interfaces and returns an error message stating they're undefined. I've been told this API has been replaced by the File System Access API.
Did you test this? If so, how?
I've tested it on both Microsoft Edge (111.0.1661.62) and a developer build of Chromium (110.0.5441.0).
I simply tried accessing the aforementioned interfaces through the inspector, to no avail. Of course, I also tried with an ordinary script, which is what initially lead to my confusion.
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
No response
Do you have anything more you want to share?
Unfortunately, I don't have much else that might be useful. I'm just amazed nobody else has reported this earlier. I wish I knew how long this has been left untouched, or when Chrome decided to ditch this. I just know it's been at least a year, according to the person who had to help me figure out what was wrong over Discord.
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/File_and_Directory_Entries_API
MDN metadata
MDN page report details
- Query:
api.FileSystem - Report started: 2023-04-03T04:04:26.980Z
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the browser-compat-data entries for api.FileSystem and the related FileSystem* interfaces, then compare their Chromium-family data with the reported Edge 111 and Chromium 110 behavior. Check the linked MDN page and existing compatibility-data conventions; done means the affected records accurately reflect support status for the listed interfaces.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100