WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
92426
[File API] FileReader does not give error if you accidentally pass a FileEntry
https://bugs.webkit.org/show_bug.cgi?id=92426
Summary
[File API] FileReader does not give error if you accidentally pass a FileEntry
Antony Sargent
Reported
2012-07-26 14:49:10 PDT
I had in a bug in some code I was writing where I was accidentally passing a FileEntry instead of a File into one of the read* methods of FileReader. There was no exception and the error handler wasn't called - instead it just did nothing. Here's a page that shows the problem:
http://asargent.com/chrome/filereader_bug/
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug