I recently read the documentation of this API to determine if it was suitable for my desired use-case (I wanted to read low level system log files) but was unable to determine that from the documentation. I then tried to use the API in my kiosk app with fileSystem permissions, but was unable to determine why it did not work from the error message or the documentation of the API.
Could you:
1. Update the documentation to describe what files could reasonably be/not be available through getVolumeList/requestFileSystem? As I understand now only the Downloads folder can be read/written to but I wasn't able to determine if the API could potentially apply to arbitrary directories or mounts on the device.
2. Change the line "Available to kiosk apps running in kiosk session only." to something more accurate like "Only available to kiosk apps whose manifest contains "kiosk_only": true"? I thought that because I was running a kiosk application in kiosk mode that I should have been able to use the API, but it actually requires the app to only be able to run in kiosk mode.
3. Similarly, in the source code could the following error be changed to reflect that the application needs to *only* be able to run in kiosk mode?
Thanks,
Scott
Comment 1 by tbarzic@chromium.org
, Feb 14 2017Status: Assigned (was: Untriaged)