Permission error when trying to use chrome.fileSystem chooseEntry -


when trying use

chrome.filesystem.chooseentry({     type: 'openfile' },chooseentrycallback)` 

on canary 28.0.1483.0 , following error in console:

chrome.filesystem not available: not have permission access api. ensure required permission or manifest property included in manifest.json.

i require read access, , how permissions option in manifest file looks like:

"permissions": [   {     "filesystem": []   },   "contextmenus",   "clipboardwrite",   "storage" ], 

this works fine stable 26.0.1410.64 question whether there manifest permission changes need updated.

note: chrome running on windows 8, , when opening file via drag 'n drop opened without errors. i'm guessing problem chooseentry ?

based on @sowbug's comment fixed issue changing filesystem permission list item:

"permissions": [   "filesystem" ], 

edit: include extended write permission:

"permissions": [   "filesystem",   "filesystem.write" ], 

Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -