-
Notifications
You must be signed in to change notification settings - Fork 22.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Browser compatibility data on OPFS page #37004
Comments
Duplicate of mdn/yari#11290 |
Hey @Josh-Cena, this was originally about the broken link, because I though the compat data was on compiled in one spot on the File System Access API page, but then I realized that it's nowhere to be found, so I updated the issue to be about the compat data itself. I notice that there are other issues here about lack of compat data which are open, so I assume this one should stay open? I unfortunately don't have comprehensive info, but after some research just now, this is what I determined:
Notable quote from a popular database: https://rxdb.info/rx-storage-opfs.html
|
Support is tied to particular methods and interfaces, not to an API as a whole. For example, you will want to find support data on https://developer.mozilla.org/en-US/docs/Web/API/StorageManager/getDirectory. |
@Josh-Cena AFAIK the above versions I gave are for |
Ah, all the versions are available on the Looks like they align with the versions I specified above - except that not sure what Safari version macOS 12.2 corresponds to, or if that was a typo in their release notes. It definitely wasn't available in Safari 12.2 on macOS. I think I trust the FileSystemSyncAccessHandle data - i.e. Safari 15.2 on both iOS and macOS. So in summary: It seems like it'd make sense to add a single row on the Origin Private File System page with |
Our convention is to not include compatibility information in API landing pages, hence the issue I linked which will remove the reference to the browser compat section if it doesn't exist. |
Is this convention strict? I noticed that this API landing page does have https://developer.mozilla.org/en-US/docs/Web/API/WebXR_Device_API Which is copied from here: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/xr I'm wondering how people are supposed to work out whether a browser supports OPFS. If analogy to WebXR example isn't possible, would it e.g. be possible to add a "Browser support" section at the bottom of the page which has a sentence or two that directs people to https://developer.mozilla.org/en-US/docs/Web/API/StorageManager/getDirectory ? Or some other way to help people find it? |
It's not strict, but we have far more cases where we do hold it than where we don't. Some APIs, like WebXR, has a single entrypoint ( |
That makes sense, but that's exactly the case we have here, right? I.e. 'OPFS' as a feature is really just I assume this is why, for example, web.dev links to the |
That sounds reasonable—let's see what others say. |
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/File_System_API/Origin_private_file_system
What specific section or headline is this issue about?
Browser compatibility
What information was incorrect, unhelpful, or incomplete?
At the top of the page there's some text "supporting browsers" which link to this URL: https://developer.mozilla.org/en-US/docs/Web/API/File_System_API/Origin_private_file_system#browser_compatibility
But there's no browser compat section on that page, so nothing happens when you click it.
What did you expect to see?
Browser compat data
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
Thanks!
MDN metadata
Page report details
en-us/web/api/file_system_api/origin_private_file_system
The text was updated successfully, but these errors were encountered: