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 23609 - <iframe> maybe needs to dispatch load all the time and never error
Summary: <iframe> maybe needs to dispatch load all the time and never error
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: 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: 2013-10-23 16:15 UTC by contributor
Modified: 2013-10-23 18:48 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2013-10-23 16:15:47 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html
Multipage: http://www.whatwg.org/C#the-iframe-element
Complete: http://www.whatwg.org/c#the-iframe-element
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
<iframe> maybe needs to dispatch load all the time.

Posted from: 207.218.72.65 by annevk@annevk.nl
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:27.0) Gecko/20100101 Firefox/27.0
Comment 1 Anne 2013-10-23 16:19:27 UTC
Tests for http://software.hixie.ch/utilities/js/live-dom-viewer/

<iframe src=http://test.example/ onload=w('pass') onerror=w('fail')></iframe>
<iframe src=http://test:test/ onload=w('pass') onerror=w('fail')></iframe>

Both give pass in Chrome/IE. Only the latter passes in Gecko/Safari.

Gecko bug: https://bugzilla.mozilla.org/show_bug.cgi?id=929899

It seems error is never dispatching anywhere.
Comment 2 contributor 2013-10-23 18:48:56 UTC
Checked in as WHATWG revision r8239.
Check-in comment: Drop the ability to catch 'error' events from <iframe>, since nobody implemented it after 5 years.
http://html5.org/tools/web-apps-tracker?from=8238&to=8239