[Webkit-unassigned] [Bug 83688] New: File API does not support DOM events (like addEventListener)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Apr 11 05:58:29 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=83688
Summary: File API does not support DOM events (like
addEventListener)
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Event Handling
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: pimvdb at live.nl
The specifications of e.g. FileReader and FileWriter require that events are handled in the manner of DOM events. See:
http://www.w3.org/TR/FileAPI/#fire-a-progress-event
http://dev.w3.org/2009/dap/file-system/file-writer.html#dfn-fire-a-progress-event
Currently it's not possible to actually use functions such as addEventListener on file readers or file writers. It's merely possible to assign a function like:
someFileWriter.onwriteend = func;
It should be possible to do the following as well:
someFileWriter.addEventListener("writeend", func, false);
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list