- From: poot <cvsmail@w3.org>
- Date: Tue, 16 Aug 2011 00:21:20 -0400
- To: public-html-diffs@w3.org
hixie: Allow UAs to fire 'error' events if they get, e.g., XML errors while reading subtitle files. Doesn't affect WebVTT files. (whatwg r6470) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5171&r2=1.5172&f=h http://html5.org/tools/web-apps-tracker?from=6469&to=6470 =================================================================== 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:26 UTC