[html5] r8239 - [giow] (3) Drop the ability to catch 'error' events from <iframe>, since nobody [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Oct 23 11:48:42 PDT 2013


Author: ianh
Date: 2013-10-23 11:48:35 -0700 (Wed, 23 Oct 2013)
New Revision: 8239

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Drop the ability to catch 'error' events from <iframe>, since nobody implemented it after 5 years.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=23609
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2013-10-22 22:28:26 UTC (rev 8238)
+++ complete.html	2013-10-23 18:48:35 UTC (rev 8239)
@@ -256,7 +256,7 @@
 
   <header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 22 October 2013</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 23 October 2013</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -22667,6 +22667,9 @@
 
     <p><a href=#queue-a-task>Queue a task</a> to run the <a href=#iframe-load-event-steps>iframe load event steps</a>.</p>
 
+    <p>The <a href=#task-source>task source</a> for this <a href=#concept-task title=concept-task>task</a> is the
+    <a href=#dom-manipulation-task-source>DOM manipulation task source</a>.</p>
+
    </dd>
 
    <dt>Otherwise</dt>
@@ -22725,17 +22728,6 @@
   <p>When a <code><a href=#document>Document</a></code> in an <code><a href=#the-iframe-element>iframe</a></code> is marked as <a href=#completely-loaded>completely
   loaded</a>, the user agent must synchronously run the <a href=#iframe-load-event-steps>iframe load event steps</a>.</p>
 
-  <p>When content whose <a href=#url>URL</a> has the <a href=#same-origin>same origin</a> as the <code><a href=#the-iframe-element>iframe</a></code>
-  element's <code><a href=#document>Document</a></code> fails to load (e.g. due to a DNS error, network error, or if the
-  server returned a 4xx or 5xx status code <a href=#concept-http-equivalent-codes title=concept-http-equivalent-codes>or
-  equivalent</a>), then the user agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple
-  event</a> named <code title=event-error>error</code> at the element instead. (This event does
-  not fire for <a href=#parse-error title="parse error">parse errors</a>, script errors, or any errors for
-  cross-origin resources.)</p>
-
-  <p>The <a href=#task-source>task source</a> for these <a href=#concept-task title=concept-task>tasks</a> is the <a href=#dom-manipulation-task-source>DOM
-  manipulation task source</a>.</p>
-
   <p class=note>A <code title=event-load>load</code> event is also fired at the
   <code><a href=#the-iframe-element>iframe</a></code> element when it is created if no other data is loaded in it.</p>
 
@@ -95636,6 +95628,20 @@
   with <a href=#replacement-enabled>replacement enabled</a>.</p> <!-- see also the note near similar text for the
   location.assign() method -->
 
+  <!-- next few paragraphs are also from <iframe> but less detailed -->
+
+  <p>When a <code><a href=#document>Document</a></code> in a <code><a href=#frame>frame</a></code> is marked as <a href=#completely-loaded>completely
+  loaded</a>, the user agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a>
+  named <code title=event-load>load</code> at the <code><a href=#frame>frame</a></code> element.</p>
+
+  <p>The <a href=#task-source>task source</a> for the <a href=#concept-task title=concept-task>tasks</a> above is the
+  <a href=#dom-manipulation-task-source>DOM manipulation task source</a>.</p>
+
+  <p>When there is an <a href=#active-parser>active parser</a> in the <code><a href=#frame>frame</a></code>, and when anything in the
+  <code><a href=#frame>frame</a></code> is <a href=#delay-the-load-event title="delay the load event">delaying the load event</a> of the
+  <code><a href=#frame>frame</a></code>'s <a href=#browsing-context>browsing context</a>'s <a href=#active-document>active document</a>, the
+  <code><a href=#frame>frame</a></code> must <a href=#delay-the-load-event>delay the load event</a> of its document.</p>
+
   <!-- END of section that's very similar to <iframe> -->
 
   <p>When the browsing context is created, if a <code title=attr-frame-name>name</code> attribute
@@ -95647,20 +95653,6 @@
   the new value. If the attribute is removed, the <a href=#browsing-context-name>browsing context name</a> must be set to
   the empty string.</p>
 
-  <p>When content loads in a <code><a href=#frame>frame</a></code>, after any <code title=event-load>load</code>
-  events are fired within the content itself, the user agent must <a href=#queue-a-task>queue a task</a> to
-  <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-load>load</code> at the
-  <code><a href=#frame>frame</a></code> element. When content fails to load (e.g. due to a network error), then the
-  user agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-error>error</code> at the element instead.</p>
-
-  <p>The <a href=#task-source>task source</a> for the <a href=#concept-task title=concept-task>tasks</a> above is the
-  <a href=#dom-manipulation-task-source>DOM manipulation task source</a>.</p>
-
-  <p>When there is an <a href=#active-parser>active parser</a> in the <code><a href=#frame>frame</a></code>, and when anything in the
-  <code><a href=#frame>frame</a></code> is <a href=#delay-the-load-event title="delay the load event">delaying the load event</a> of the
-  <code><a href=#frame>frame</a></code>'s <a href=#browsing-context>browsing context</a>'s <a href=#active-document>active document</a>, the
-  <code><a href=#frame>frame</a></code> must <a href=#delay-the-load-event>delay the load event</a> of its document.</p>
-
   <p>The <code><a href=#frame>frame</a></code> element must implement the <code><a href=#htmlframeelement>HTMLFrameElement</a></code> interface.</p>
 
   <pre class=idl>interface <dfn id=htmlframeelement>HTMLFrameElement</dfn> : <a href=#htmlelement>HTMLElement</a> {

Modified: index
===================================================================
--- index	2013-10-22 22:28:26 UTC (rev 8238)
+++ index	2013-10-23 18:48:35 UTC (rev 8239)
@@ -256,7 +256,7 @@
 
   <header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 22 October 2013</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 23 October 2013</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -22667,6 +22667,9 @@
 
     <p><a href=#queue-a-task>Queue a task</a> to run the <a href=#iframe-load-event-steps>iframe load event steps</a>.</p>
 
+    <p>The <a href=#task-source>task source</a> for this <a href=#concept-task title=concept-task>task</a> is the
+    <a href=#dom-manipulation-task-source>DOM manipulation task source</a>.</p>
+
    </dd>
 
    <dt>Otherwise</dt>
@@ -22725,17 +22728,6 @@
   <p>When a <code><a href=#document>Document</a></code> in an <code><a href=#the-iframe-element>iframe</a></code> is marked as <a href=#completely-loaded>completely
   loaded</a>, the user agent must synchronously run the <a href=#iframe-load-event-steps>iframe load event steps</a>.</p>
 
-  <p>When content whose <a href=#url>URL</a> has the <a href=#same-origin>same origin</a> as the <code><a href=#the-iframe-element>iframe</a></code>
-  element's <code><a href=#document>Document</a></code> fails to load (e.g. due to a DNS error, network error, or if the
-  server returned a 4xx or 5xx status code <a href=#concept-http-equivalent-codes title=concept-http-equivalent-codes>or
-  equivalent</a>), then the user agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple
-  event</a> named <code title=event-error>error</code> at the element instead. (This event does
-  not fire for <a href=#parse-error title="parse error">parse errors</a>, script errors, or any errors for
-  cross-origin resources.)</p>
-
-  <p>The <a href=#task-source>task source</a> for these <a href=#concept-task title=concept-task>tasks</a> is the <a href=#dom-manipulation-task-source>DOM
-  manipulation task source</a>.</p>
-
   <p class=note>A <code title=event-load>load</code> event is also fired at the
   <code><a href=#the-iframe-element>iframe</a></code> element when it is created if no other data is loaded in it.</p>
 
@@ -95636,6 +95628,20 @@
   with <a href=#replacement-enabled>replacement enabled</a>.</p> <!-- see also the note near similar text for the
   location.assign() method -->
 
+  <!-- next few paragraphs are also from <iframe> but less detailed -->
+
+  <p>When a <code><a href=#document>Document</a></code> in a <code><a href=#frame>frame</a></code> is marked as <a href=#completely-loaded>completely
+  loaded</a>, the user agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a>
+  named <code title=event-load>load</code> at the <code><a href=#frame>frame</a></code> element.</p>
+
+  <p>The <a href=#task-source>task source</a> for the <a href=#concept-task title=concept-task>tasks</a> above is the
+  <a href=#dom-manipulation-task-source>DOM manipulation task source</a>.</p>
+
+  <p>When there is an <a href=#active-parser>active parser</a> in the <code><a href=#frame>frame</a></code>, and when anything in the
+  <code><a href=#frame>frame</a></code> is <a href=#delay-the-load-event title="delay the load event">delaying the load event</a> of the
+  <code><a href=#frame>frame</a></code>'s <a href=#browsing-context>browsing context</a>'s <a href=#active-document>active document</a>, the
+  <code><a href=#frame>frame</a></code> must <a href=#delay-the-load-event>delay the load event</a> of its document.</p>
+
   <!-- END of section that's very similar to <iframe> -->
 
   <p>When the browsing context is created, if a <code title=attr-frame-name>name</code> attribute
@@ -95647,20 +95653,6 @@
   the new value. If the attribute is removed, the <a href=#browsing-context-name>browsing context name</a> must be set to
   the empty string.</p>
 
-  <p>When content loads in a <code><a href=#frame>frame</a></code>, after any <code title=event-load>load</code>
-  events are fired within the content itself, the user agent must <a href=#queue-a-task>queue a task</a> to
-  <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-load>load</code> at the
-  <code><a href=#frame>frame</a></code> element. When content fails to load (e.g. due to a network error), then the
-  user agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-error>error</code> at the element instead.</p>
-
-  <p>The <a href=#task-source>task source</a> for the <a href=#concept-task title=concept-task>tasks</a> above is the
-  <a href=#dom-manipulation-task-source>DOM manipulation task source</a>.</p>
-
-  <p>When there is an <a href=#active-parser>active parser</a> in the <code><a href=#frame>frame</a></code>, and when anything in the
-  <code><a href=#frame>frame</a></code> is <a href=#delay-the-load-event title="delay the load event">delaying the load event</a> of the
-  <code><a href=#frame>frame</a></code>'s <a href=#browsing-context>browsing context</a>'s <a href=#active-document>active document</a>, the
-  <code><a href=#frame>frame</a></code> must <a href=#delay-the-load-event>delay the load event</a> of its document.</p>
-
   <p>The <code><a href=#frame>frame</a></code> element must implement the <code><a href=#htmlframeelement>HTMLFrameElement</a></code> interface.</p>
 
   <pre class=idl>interface <dfn id=htmlframeelement>HTMLFrameElement</dfn> : <a href=#htmlelement>HTMLElement</a> {

Modified: source
===================================================================
--- source	2013-10-22 22:28:26 UTC (rev 8238)
+++ source	2013-10-23 18:48:35 UTC (rev 8239)
@@ -23859,6 +23859,9 @@
 
     <p><span>Queue a task</span> to run the <span>iframe load event steps</span>.</p>
 
+    <p>The <span>task source</span> for this <span data-x="concept-task">task</span> is the
+    <span>DOM manipulation task source</span>.</p>
+
    </dd>
 
    <dt>Otherwise</dt>
@@ -23926,17 +23929,6 @@
   <p>When a <code>Document</code> in an <code>iframe</code> is marked as <span>completely
   loaded</span>, the user agent must synchronously run the <span>iframe load event steps</span>.</p>
 
-  <p>When content whose <span>URL</span> has the <span>same origin</span> as the <code>iframe</code>
-  element's <code>Document</code> fails to load (e.g. due to a DNS error, network error, or if the
-  server returned a 4xx or 5xx status code <span data-x="concept-http-equivalent-codes">or
-  equivalent</span>), then the user agent must <span>queue a task</span> to <span>fire a simple
-  event</span> named <code data-x="event-error">error</code> at the element instead. (This event does
-  not fire for <span data-x="parse error">parse errors</span>, script errors, or any errors for
-  cross-origin resources.)</p>
-
-  <p>The <span>task source</span> for these <span data-x="concept-task">tasks</span> is the <span>DOM
-  manipulation task source</span>.</p>
-
   <p class="note">A <code data-x="event-load">load</code> event is also fired at the
   <code>iframe</code> element when it is created if no other data is loaded in it.</p>
 
@@ -106448,6 +106440,20 @@
   with <span>replacement enabled</span>.</p> <!-- see also the note near similar text for the
   location.assign() method -->
 
+  <!-- next few paragraphs are also from <iframe> but less detailed -->
+
+  <p>When a <code>Document</code> in a <code>frame</code> is marked as <span>completely
+  loaded</span>, the user agent must <span>queue a task</span> to <span>fire a simple event</span>
+  named <code data-x="event-load">load</code> at the <code>frame</code> element.</p>
+
+  <p>The <span>task source</span> for the <span data-x="concept-task">tasks</span> above is the
+  <span>DOM manipulation task source</span>.</p>
+
+  <p>When there is an <span>active parser</span> in the <code>frame</code>, and when anything in the
+  <code>frame</code> is <span data-x="delay the load event">delaying the load event</span> of the
+  <code>frame</code>'s <span>browsing context</span>'s <span>active document</span>, the
+  <code>frame</code> must <span>delay the load event</span> of its document.</p>
+
   <!-- END of section that's very similar to <iframe> -->
 
   <p>When the browsing context is created, if a <code data-x="attr-frame-name">name</code> attribute
@@ -106459,21 +106465,6 @@
   the new value. If the attribute is removed, the <span>browsing context name</span> must be set to
   the empty string.</p>
 
-  <p>When content loads in a <code>frame</code>, after any <code data-x="event-load">load</code>
-  events are fired within the content itself, the user agent must <span>queue a task</span> to
-  <span>fire a simple event</span> named <code data-x="event-load">load</code> at the
-  <code>frame</code> element. When content fails to load (e.g. due to a network error), then the
-  user agent must <span>queue a task</span> to <span>fire a simple event</span> named <code
-  data-x="event-error">error</code> at the element instead.</p>
-
-  <p>The <span>task source</span> for the <span data-x="concept-task">tasks</span> above is the
-  <span>DOM manipulation task source</span>.</p>
-
-  <p>When there is an <span>active parser</span> in the <code>frame</code>, and when anything in the
-  <code>frame</code> is <span data-x="delay the load event">delaying the load event</span> of the
-  <code>frame</code>'s <span>browsing context</span>'s <span>active document</span>, the
-  <code>frame</code> must <span>delay the load event</span> of its document.</p>
-
   <p>The <code>frame</code> element must implement the <code>HTMLFrameElement</code> interface.</p>
 
   <pre class="idl">interface <dfn>HTMLFrameElement</dfn> : <span>HTMLElement</span> {




More information about the Commit-Watchers mailing list