[Webkit-unassigned] [Bug 76102] Add support for loadstart, progress, and loadend ProgressEvents to the IMG tag.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 13 12:50:59 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=76102





--- Comment #4 from Hans Muller <giles_joplin at yahoo.com>  2012-02-13 12:50:58 PST ---
(In reply to comment #3)
> I would only fire 'load' and 'error'.
> 
> I would avoid firing the other events because it either exposes information, in which case it's a security problem, or it exposes no information, in which case it's a useless API that will mislead authors.

The loadend event, which is what I assume you're characterizing as "useless", enables doing work after either the load or error listeners have run.   That seems useful on the face of it, and I assume that's why the ProgressEvent spec includes loadend.

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