
When FileReader is told to read a File pointing to a directory, properly call the error callback instead of calling the success callback with an empty file.

The "result" will be an empty string for directories, but "error" will be non-null.  FileReader.getError() will end up returning non-null in this case, and null in successful cases.

R=nweiz
DELTA=3  (1 added, 0 deleted, 2 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4344


git-svn-id: 35241bd708fe29f1f6c7a4322d322e99ff93b95e@1647 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

rethinkdb/google-closure-library,Kuniwak/google-closure-library-jsdoc,Kuniwak/google-closure-library-jsdoc,rethinkdb/google-closure-library,jarib/google-closure-library,rethinkdb/google-closure-library,jarib/google-closure-library