hixie: Clarify what iframe onerror fires for (whatwg r4920)

hixie: Clarify what iframe onerror fires for (whatwg r4920)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3940&r2=1.3941&f=h
http://html5.org/tools/web-apps-tracker?from=4919&to=4920

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3940
retrieving revision 1.3941
diff -u -d -r1.3940 -r1.3941
--- Overview.html 31 Mar 2010 08:49:51 -0000 1.3940
+++ Overview.html 31 Mar 2010 19:41:12 -0000 1.3941
@@ -17836,9 +17836,15 @@
   <p>When content loads in an <code><a href="#the-iframe-element">iframe</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="#the-iframe-element">iframe</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>
+  the <code><a href="#the-iframe-element">iframe</a></code> element. 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>

Received on Thursday, 1 April 2010 05:35:36 UTC