The FileWriter is currently sending the write event where it should be sending a progress event. Write happens only at the end of a successful truncate or write, whereas progress happens throughout an ongoing write.
Created attachment 70381 [details] Patch
Comment on attachment 70381 [details] Patch According to the spec, readyState should be DONE when the "write" event fires: http://www.w3.org/TR/file-writer-api/#widl-FileWriter-write (steps 6, 7 and 8.)
Comment on attachment 70381 [details] Patch D'oh, that's my bad. I was looking at an outdated version of the spec. Here's the relevant one: http://dev.w3.org/2009/dap/file-system/file-writer.html#widl-FileWriter-write r=me
Comment on attachment 70381 [details] Patch Clearing flags on attachment: 70381 Committed r69463: <http://trac.webkit.org/changeset/69463>
All reviewed patches have been landed. Closing bug.