Skip to content

Commit

Permalink
[giow] (1) try to fix ambiguous task queuing (which source should be …
Browse files Browse the repository at this point in the history
…used), for <track>

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=25045
Affected topics: Video Text Tracks

git-svn-id: http://svn.whatwg.org/webapps@8574 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 14, 2014
1 parent f7d3a17 commit ed5b132
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
6 changes: 4 additions & 2 deletions complete.html
Expand Up @@ -29871,7 +29871,8 @@ <h6 id=sourcing-out-of-band-text-tracks><span class=secno>4.7.10.12.3 </span>Sou
<p>If the <a href=#fetch title=fetch>fetching algorithm</a> fails for any reason (network error,
the server returns an error code, a cross-origin check fails, etc), or if <var title="">URL</var> is the empty string, then <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-failed-to-load title="text track failed to load">failed to
load</a> and then <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-error><a href=#event-error>error</a></code> at the <code><a href=#the-track-element>track</a></code> element.</p>
load</a> and then <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-error><a href=#event-error>error</a></code> at the <code><a href=#the-track-element>track</a></code> element. This <a href=#concept-task title=concept-task>task</a> must use the <a href=#dom-manipulation-task-source>DOM manipulation task source</a>. <!--
can't be the media element one, since there might not be a media element by this point --></p>

<p>If the <a href=#fetch title=fetch>fetching algorithm</a> does not fail, but the <!--sniffed-->
type of the resource is not a supported text track format, or the file was not successfully
Expand Down Expand Up @@ -29901,7 +29902,8 @@ <h6 id=sourcing-out-of-band-text-tracks><span class=secno>4.7.10.12.3 </span>Sou
in particular, not adding any cues to the <a href=#text-track-list-of-cues>text track list of cues</a> after the moment
the URL changed), and then <a href=#queue-a-task>queue a task</a> that first changes the <a href=#text-track-readiness-state>text track
readiness state</a> to <a href=#text-track-failed-to-load title="text track failed to load">failed to load</a> and
then <a href=#fire-a-simple-event title="fire a simple event">fires a simple event</a> named <code title=event-error><a href=#event-error>error</a></code> at the <code><a href=#the-track-element>track</a></code> element.</p>
then <a href=#fire-a-simple-event title="fire a simple event">fires a simple event</a> named <code title=event-error><a href=#event-error>error</a></code> at the <code><a href=#the-track-element>track</a></code> element. This <a href=#concept-task title=concept-task>task</a> must use the <a href=#dom-manipulation-task-source>DOM manipulation task source</a>. <!--
can't be the media element one, since there might not be a media element by this point --></p>

</li>

Expand Down
6 changes: 4 additions & 2 deletions index
Expand Up @@ -29871,7 +29871,8 @@ interface <dfn id=mediacontroller>MediaController</dfn> : <a href=#eventtarget>E
<p>If the <a href=#fetch title=fetch>fetching algorithm</a> fails for any reason (network error,
the server returns an error code, a cross-origin check fails, etc), or if <var title="">URL</var> is the empty string, then <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-failed-to-load title="text track failed to load">failed to
load</a> and then <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-error><a href=#event-error>error</a></code> at the <code><a href=#the-track-element>track</a></code> element.</p>
load</a> and then <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-error><a href=#event-error>error</a></code> at the <code><a href=#the-track-element>track</a></code> element. This <a href=#concept-task title=concept-task>task</a> must use the <a href=#dom-manipulation-task-source>DOM manipulation task source</a>. <!--
can't be the media element one, since there might not be a media element by this point --></p>

<p>If the <a href=#fetch title=fetch>fetching algorithm</a> does not fail, but the <!--sniffed-->
type of the resource is not a supported text track format, or the file was not successfully
Expand Down Expand Up @@ -29901,7 +29902,8 @@ interface <dfn id=mediacontroller>MediaController</dfn> : <a href=#eventtarget>E
in particular, not adding any cues to the <a href=#text-track-list-of-cues>text track list of cues</a> after the moment
the URL changed), and then <a href=#queue-a-task>queue a task</a> that first changes the <a href=#text-track-readiness-state>text track
readiness state</a> to <a href=#text-track-failed-to-load title="text track failed to load">failed to load</a> and
then <a href=#fire-a-simple-event title="fire a simple event">fires a simple event</a> named <code title=event-error><a href=#event-error>error</a></code> at the <code><a href=#the-track-element>track</a></code> element.</p>
then <a href=#fire-a-simple-event title="fire a simple event">fires a simple event</a> named <code title=event-error><a href=#event-error>error</a></code> at the <code><a href=#the-track-element>track</a></code> element. This <a href=#concept-task title=concept-task>task</a> must use the <a href=#dom-manipulation-task-source>DOM manipulation task source</a>. <!--
can't be the media element one, since there might not be a media element by this point --></p>

</li>

Expand Down
8 changes: 6 additions & 2 deletions source
Expand Up @@ -32122,7 +32122,9 @@ interface <dfn>MediaController</dfn> : <span>EventTarget</span> {
data-x="">URL</var> is the empty string, then <span>queue a task</span> to first change the
<span>text track readiness state</span> to <span data-x="text track failed to load">failed to
load</span> and then <span>fire a simple event</span> named <code
data-x="event-error">error</code> at the <code>track</code> element.</p>
data-x="event-error">error</code> at the <code>track</code> element. This <span
data-x="concept-task">task</span> must use the <span>DOM manipulation task source</span>. <!--
can't be the media element one, since there might not be a media element by this point --></p>

<p>If the <span data-x="fetch">fetching algorithm</span> does not fail, but the <!--sniffed-->
type of the resource is not a supported text track format, or the file was not successfully
Expand Down Expand Up @@ -32161,7 +32163,9 @@ interface <dfn>MediaController</dfn> : <span>EventTarget</span> {
the URL changed), and then <span>queue a task</span> that first changes the <span>text track
readiness state</span> to <span data-x="text track failed to load">failed to load</span> and
then <span data-x="fire a simple event">fires a simple event</span> named <code
data-x="event-error">error</code> at the <code>track</code> element.</p>
data-x="event-error">error</code> at the <code>track</code> element. This <span
data-x="concept-task">task</span> must use the <span>DOM manipulation task source</span>. <!--
can't be the media element one, since there might not be a media element by this point --></p>

</li>

Expand Down

0 comments on commit ed5b132

Please sign in to comment.