- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 16 Aug 2011 04:21:04 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv29722
Modified Files:
Overview.html
Log Message:
Allow UAs to fire 'error' events if they get, e.g., XML errors while reading subtitle files. Doesn't affect WebVTT files. (whatwg r6470)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5171
retrieving revision 1.5172
diff -u -d -r1.5171 -r1.5172
--- Overview.html 16 Aug 2011 04:06:21 -0000 1.5171
+++ Overview.html 16 Aug 2011 04:20:59 -0000 1.5172
@@ -26122,12 +26122,32 @@
<i>monitoring</i>.</p>
<p>If the <a href="#fetch" title="fetch">fetching algorithm</a> does not
- fail, then, when it completes, <a href="#queue-a-task">queue a task</a> to first
- change the <a href="#text-track-readiness-state">text track readiness state</a> to <a href="#text-track-loaded" title="text track loaded">loaded</a> and then <a href="#fire-a-simple-event">fire a
- simple event</a> named <code title="event-load">load</code> at
- the <code><a href="#the-track-element">track</a></code> element; and then, once that <a href="#concept-task" title="concept-task">task</a> is <a href="#queue-a-task" title="queue a
- task">queued</a>, move on to the step below labeled
- <i>monitoring</i>.</p>
+ fail, then, when it completes, <a href="#queue-a-task">queue a task</a> to run
+ the following steps:</p>
+
+ <ol><li><p>Change the <a href="#text-track-readiness-state">text track readiness state</a> to
+ <a href="#text-track-loaded" title="text track loaded">loaded</a>.</li>
+
+ <li>
+
+ <p>If the file was successfully processed, <a href="#fire-a-simple-event">fire a simple
+ event</a> named <code title="event-load">load</code> at the
+ <code><a href="#the-track-element">track</a></code> element.</p>
+
+ <p>If the file was not successfully processed, e.g. the format
+ in question is an XML format and the file contained a
+ well-formedness error that the XML specification requires be
+ detected and reported to the application, then <a href="#fire-a-simple-event">fire a
+ simple event</a> named <code title="event-error">error</code>
+ at the <code><a href="#the-track-element">track</a></code> element.</p>
+
+ <p class="note">The WebVTT format does not report errors in this
+ fashion.</p>
+
+ </li>
+
+ </ol><p>Once that <a href="#concept-task" title="concept-task">task</a> is <a href="#queue-a-task" title="queue a task">queued</a>, move on to the step below
+ labeled <i>monitoring</i>.</p>
<p>If, while the <a href="#fetch" title="fetch">fetching algorithm</a> is
active, either:</p>
Received on Tuesday, 16 August 2011 04:21:08 UTC