Hello,
I have written a Chrome extension that uses a NaCl module that needs access to write the HTML5 FS persistent storage. At this moment in time I can't get Chrome to honour the the unlimitedStorage permission in the manifest.json file to avoid a JS quota request.
From the pp::FileSystem documation it says:
However if I just add the unlimitedStorage permission like:
"permissions": ["unlimitedStorage", "tabs", "power"]
I cannot write to the persistent FS from the NaCl code when using a mount such as:
mount_status = mount("", "/persistent", "html5fs", 0, "type=PERSISTENT,expected_size=67108864");
If however I request and accept a quota from JS (which results in a UI popup in Chrome) I can access the FS no problem at all.
I wish to avoid the popup and get the user to accept the quota at install time not runtime, and as suggested by pp::FileSystem documation this should be possible.
Please could someone confirm if I am adding the permission incorrectly..or whether I have mis-understood something.?
Many thanks
Mark.