[webkit-dev] <img onabort="foo()" ...

Gavin Peters (蓋文彼德斯) gavinp at chromium.org
Fri Mar 9 10:02:21 PST 2012


I'm reading through event handling on attributes which load media as I
contemplate some changes for Link elements, and I came across a curiosity.
 The HTMLImageElement dutifully registers any onabort handler specified in
the element, but I can't find any code path that would actually launch one.
 Certainly the ImageLoader can only send onbeforeload, onload, onerror.

There also don't seem to be any LayoutTests with onabort set for an IMG.

Am I missing a path, or is this now redundant?

- Gavin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120309/d077c7ef/attachment.html>


More information about the webkit-dev mailing list