Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[giow] (1) Make an empty WebVTT file not trigger onerror.
Affected topics: Video Text Tracks

git-svn-id: http://svn.whatwg.org/webapps@6996 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 15, 2012
1 parent 6b4f63b commit 1a13b99
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion complete.html
Expand Up @@ -32705,7 +32705,7 @@ <h6 id=sourcing-out-of-band-text-tracks><span class=secno>4.8.10.12.3 </span>Sou
fail, then the final <a href=#concept-task title=concept-task>task</a> that
is <a href=#queue-a-task title="queue a task">queued</a> by the
<a href=#networking-task-source>networking task source</a> must run the following
steps:</p>
steps after it has tried to parse the data:</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>
Expand Down
2 changes: 1 addition & 1 deletion index
Expand Up @@ -32705,7 +32705,7 @@ interface <dfn id=mediacontroller>MediaController</dfn> {
fail, then the final <a href=#concept-task title=concept-task>task</a> that
is <a href=#queue-a-task title="queue a task">queued</a> by the
<a href=#networking-task-source>networking task source</a> must run the following
steps:</p>
steps after it has tried to parse the data:</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>
Expand Down
12 changes: 7 additions & 5 deletions source
Expand Up @@ -35757,7 +35757,7 @@ interface <dfn>MediaController</dfn> {
fail, then the final <span title="concept-task">task</span> that
is <span title="queue a task">queued</span> by the
<span>networking task source</span> must run the following
steps:</p>
steps after it has tried to parse the data:</p>

<ol>

Expand Down Expand Up @@ -37735,9 +37735,10 @@ The General Relativistic Field Equations</pre>
successfully processed.</p></li>

<li><p>If <var title="">position</var> is past the end of <var
title="">input</var>, then abort these steps. The file does not
start with the correct <span>WebVTT file</span> signature and was
therefore not successfully processed.</p></li>
title="">input</var>, then abort these steps. The file was
successfully processed, but it contains no useful data and so no
<span title="text track cue">text track cues</span> where added to
<var title="">output</var>.</p></li>


<li><p>The character indicated by <var title="">position</var> is a
Expand Down Expand Up @@ -37934,7 +37935,8 @@ The General Relativistic Field Equations</pre>


<li><p><i>End</i>: The file has ended. Abort these steps. The
<span>WebVTT parser</span> has finished.</p></li>
<span>WebVTT parser</span> has finished. The file was successfully
processed.</p></li>

</ol>

Expand Down

0 comments on commit 1a13b99

Please sign in to comment.