-
Notifications
You must be signed in to change notification settings - Fork 57
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
Suggested file name and location for the File System Access API. #598
Comments
@torgo and I looked at this in our Virtual TAG F2F breakout. Thank you for the great explainer and links to developer interest. The feature additions look very sensible to us. |
I would like to see a bit more discussion in the explainer about why this does not present privacy issues for the end user? Reading between the lines, it seems to me that the web application would not gain additional information about the user's file system hierarchy - but for example could information about the existence of well-known starting locations be improperly exposed? |
For the file name, this is something that For the well-known directories, these would indeed map to the by-default ones that operating systems commonly have. Here's an example from macOS (the app would not learn that my home directory is called |
Thanks for the quick reply @tomayac! Just to clarify : I understand that the home directory name would be kept private but would the app be able to confirm the existence of "Downloads" or "Movies" (or something else) through use of this API? |
It is a suggestion, so if, for whatever reason, the user has deleted, for example, their |
We had a look today during the chrome security/privacy triage and it was looking good overall. There was no real concern for any of the suggestions apart from /home/ that felt a bit too close to root. Is there specific use cases you're thinking about for this one or should we maybe remove it from the well known list? |
Remove 'home' from well know directories to address w3ctag/design-reviews#598 (comment)
We didn't really have any specific use cases in mind for |
Remove 'home' from well know directories to address w3ctag/design-reviews#598 (comment)
Remove 'home' from well know directories to address w3ctag/design-reviews#598 (comment) SHA: 7c644c5 Reason: push, by @mkruisselbrink Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Can the new design be recorded in the download list of the browser? (e.g. |
No, I think that would have to be a separate feature (I mean, technically nothing it stopping browsers from showing files picked via showSaveFilePicker in their "downloads" list, but not sure when/why it would make sense to do so). |
We don't have any further comments, so this looks good to us! |
In my use case (downloading reports in either pdf or spreadsheet format) it would be very useful to show the downloaded file in the footer of the browser as most of the time a user will want to immediately open the file after it has been downloaded. |
HIQaH! QaH! TAG!
I'm requesting a TAG review of suggested file name and location for the File System Access API.
When initially shipping the File System Access API we shipped a bare minimum API surface
for showing file and directory pickers. We're now proposing adding a couple of frequently
requested (and commonly supported in other file picker APIs) options to let websites
provide a couple more opportunities to influence the behavior of the file and directory pickers.
In particular we want to let websites give suggestions for the name and location of files and
directories that are being saved or loaded.
Further details:
We'd prefer the TAG provide feedback as (please delete all but the desired option):
🐛 open issues in our GitHub repo for each point of feedback
The text was updated successfully, but these errors were encountered: