This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26068 - <img> Maybe avoid infinite recursion when setting src in onerror
Summary: <img> Maybe avoid infinite recursion when setting src in onerror
Status: RESOLVED MOVED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other All
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-12 07:45 UTC by contributor
Modified: 2019-03-29 21:01 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2014-06-12 07:45:42 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/edits.html
Multipage: http://www.whatwg.org/C#the-img-element
Complete: http://www.whatwg.org/c#the-img-element
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
<img> Maybe avoid infinite recursion when setting src in onerror
See https://bugzilla.mozilla.org/show_bug.cgi?id=528448
Maybe we could avoid firing error again if the url didn't change?

Posted from: 90.230.218.37 by simonp@opera.com
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36 OPR/22.0.1471.40 (Edition Next)
Comment 1 Ian 'Hixie' Hickson 2014-06-12 16:40:49 UTC
I'd do whatever browsers do here.
Comment 2 Domenic Denicola 2019-03-29 21:01:58 UTC
https://github.com/whatwg/html/issues/4480