Closed trvrb closed 12 years ago
For Chrome, there's a default security feature that disallows the application local file access. FileReader behaves properly when you run Chrome with the "--allow-file-access-from-files" flag. I found this resolved the issue for my Chromium installation.
For Safari, it appears to be unsupported entirely: http://caniuse.com/filereader
On Mac, launch Google Chrome with:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --allow-file-access-from-files &> /dev/null &
It looks like the web input has made this a moot issue.
On my Mac, file parsing works great in Firefox, but doesn't work at all in Chrome or Safari. With Chrome I get the following:
This is occurring because
inputStr
is undefined.In Safari I get:
I'll look into Chrome and Safari alternatives.