Closed
Bug 978924
Opened 10 years ago
Closed 10 years ago
FileAPI Abort Call Fires Wrong Event Order, with Accompanying Wrong FileReader State
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: arun, Unassigned)
References
()
Details
Attachments
(1 file)
714 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:27.0) Gecko/20100101 Firefox/27.0 Steps to reproduce: The attached HTML file invokes FileReader.abort() on a given FileReader. Actual Result: "abort 2" "loadend 2" "loadstart 2" Expected Result: "loadstart 1" "abort 2" "loadend 2" Explanation: When loadstart fires, the state should be LOADING. The 'abort' event fires and the state of the FileReader should be DONE. The 'loadend' event fires and the state of the FileReader should be DONE. Also, the Fx event firing sequence is illogical.
Comment 1•10 years ago
|
||
This is a direct result of your spec defining that abort() fires its event synchronously, and your test logging "loadstart" after calling abort(). See $URL for a better test.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 2•10 years ago
|
||
I'm not sure you should close this bug. It still shows event inconsistency w.r.t Chrome. Also, the spec. has changed (to always fire loadend).
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•