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
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. |