Bug 92426

Summary: [File API] FileReader does not give error if you accidentally pass a FileEntry
Product: WebKit Reporter: Antony Sargent <asargent>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ericu, jianli, nvbalaji.os
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

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
Note You need to log in before you can comment on or make changes to this bug.