[html5] r7904 - [e] (0) Avoid using the same label for two different steps in the same overall a [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Jun 4 14:24:10 PDT 2013
Author: ianh
Date: 2013-06-04 14:24:09 -0700 (Tue, 04 Jun 2013)
New Revision: 7904
Modified:
complete.html
index
source
Log:
[e] (0) Avoid using the same label for two different steps in the same overall algorithm
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=21754
Affected topics: Video and Audio
Modified: complete.html
===================================================================
--- complete.html 2013-06-04 21:21:57 UTC (rev 7903)
+++ complete.html 2013-06-04 21:24:09 UTC (rev 7904)
@@ -27389,7 +27389,7 @@
algorithm). Steps in such sections are marked with ⌛.</p>
<ol><!-- precondition: networkState == NETWORK_EMPTY or we're coming straight from the algorithm above
- (where setting it to empty is commented out) --><li><p>Set the element's <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute to
+ (where setting it to empty is commented out) --><!--CLEANUP--><li><p>Set the element's <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute to
the <code title=dom-media-NETWORK_NO_SOURCE><a href=#dom-media-network_no_source>NETWORK_NO_SOURCE</a></code> value.</li>
<li><p>Set the element's <a href=#show-poster-flag>show poster flag</a> to true.</li>
@@ -27435,7 +27435,7 @@
<ol><li><p>⌛ If the <code title=attr-media-src><a href=#attr-media-src>src</a></code>
attribute's value is the empty string, then end the <a href=#synchronous-section>synchronous section</a>, and jump
- down to the <i title="">failed</i> step below.</li>
+ down to the <i title="">failed with attribute</i> step below.</li>
<li><p>⌛ Let <var title="">absolute URL</var> be the <a href=#absolute-url>absolute URL</a> that
would have resulted from <a href=#resolve-a-url title="resolve a url">resolving</a> the <a href=#url>URL</a>
@@ -27455,10 +27455,10 @@
<li>
- <p><i>Failed</i>: Reaching this step indicates that the media resource failed to load or that
- the given <a href=#url>URL</a> could not be <a href=#resolve-a-url title="resolve a url">resolved</a>.
- <a href=#queue-a-task>Queue a task</a> to run the following steps, using the <a href=#dom-manipulation-task-source>DOM manipulation task
- source</a>:</p>
+ <p><i title="">Failed with attribute</i>: Reaching this step indicates that the media resource
+ failed to load or that the given <a href=#url>URL</a> could not be <a href=#resolve-a-url title="resolve a
+ url">resolved</a>. <a href=#queue-a-task>Queue a task</a> to run the following steps, using the
+ <a href=#dom-manipulation-task-source>DOM manipulation task source</a>:</p>
<ol><li><p>Set the <code title=dom-media-error><a href=#dom-media-error>error</a></code> attribute to a new
<code><a href=#mediaerror>MediaError</a></code> object whose <code title=dom-MediaError-code><a href=#dom-mediaerror-code>code</a></code> attribute
@@ -27520,7 +27520,7 @@
<li><p>⌛ <i>Process candidate</i>: If <var title="">candidate</var> does not have a
<code title=attr-source-src><a href=#attr-source-src>src</a></code> attribute, or if its <code title=attr-source-src><a href=#attr-source-src>src</a></code> attribute's value is the empty string, then end the
- <a href=#synchronous-section>synchronous section</a>, and jump down to the <i title="">failed</i> step
+ <a href=#synchronous-section>synchronous section</a>, and jump down to the <i title="">failed with elements</i> step
below.</li>
<li><p>⌛ Let <var title="">absolute URL</var> be the <a href=#absolute-url>absolute URL</a> that
@@ -27530,17 +27530,17 @@
or <base> after src="" has no effect -->
<li><p>⌛ If <var title="">absolute URL</var> was not obtained successfully, then end the
- <a href=#synchronous-section>synchronous section</a>, and jump down to the <i title="">failed</i> step
+ <a href=#synchronous-section>synchronous section</a>, and jump down to the <i title="">failed with elements</i> step
below.</li>
<li><p>⌛ If <var title="">candidate</var> has a <code title=attr-source-type><a href=#attr-source-type>type</a></code> attribute whose value, when parsed as a <a href=#mime-type>MIME
type</a> (including any codecs described by the <code title="">codecs</code> parameter, for
types that define that parameter), represents <a href=#a-type-that-the-user-agent-knows-it-cannot-render>a type that the user agent knows it cannot
- render</a>, then end the <a href=#synchronous-section>synchronous section</a>, and jump down to the <i title="">failed</i> step below.</li>
+ render</a>, then end the <a href=#synchronous-section>synchronous section</a>, and jump down to the <i title="">failed with elements</i> step below.</li>
<li><p>⌛ If <var title="">candidate</var> has a <code title=attr-source-media><a href=#attr-source-media>media</a></code> attribute whose value does not <a href=#matches-the-environment title="matches the
environment">match the environment</a>, then end the <a href=#synchronous-section>synchronous section</a>, and
- jump down to the <i title="">failed</i> step below.</li>
+ jump down to the <i title="">failed with elements</i> step below.</li>
<li><p>⌛ Set the <code title=dom-media-currentSrc><a href=#dom-media-currentsrc>currentSrc</a></code> attribute to <var title="">absolute URL</var>.</li>
@@ -27551,7 +27551,7 @@
<var title="">absolute URL</var>. If that algorithm returns without aborting <em>this</em> one,
then the load failed.</li>
- <li><p><i title="">Failed</i>: <a href=#queue-a-task>Queue a task</a>, using the <a href=#dom-manipulation-task-source>DOM manipulation task
+ <li><p><i title="">Failed with elements</i>: <a href=#queue-a-task>Queue a task</a>, using the <a href=#dom-manipulation-task-source>DOM manipulation task
source</a>, to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-error>error</code>
at the <var title="">candidate</var> element.</li>
Modified: index
===================================================================
--- index 2013-06-04 21:21:57 UTC (rev 7903)
+++ index 2013-06-04 21:24:09 UTC (rev 7904)
@@ -27389,7 +27389,7 @@
algorithm). Steps in such sections are marked with ⌛.</p>
<ol><!-- precondition: networkState == NETWORK_EMPTY or we're coming straight from the algorithm above
- (where setting it to empty is commented out) --><li><p>Set the element's <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute to
+ (where setting it to empty is commented out) --><!--CLEANUP--><li><p>Set the element's <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute to
the <code title=dom-media-NETWORK_NO_SOURCE><a href=#dom-media-network_no_source>NETWORK_NO_SOURCE</a></code> value.</li>
<li><p>Set the element's <a href=#show-poster-flag>show poster flag</a> to true.</li>
@@ -27435,7 +27435,7 @@
<ol><li><p>⌛ If the <code title=attr-media-src><a href=#attr-media-src>src</a></code>
attribute's value is the empty string, then end the <a href=#synchronous-section>synchronous section</a>, and jump
- down to the <i title="">failed</i> step below.</li>
+ down to the <i title="">failed with attribute</i> step below.</li>
<li><p>⌛ Let <var title="">absolute URL</var> be the <a href=#absolute-url>absolute URL</a> that
would have resulted from <a href=#resolve-a-url title="resolve a url">resolving</a> the <a href=#url>URL</a>
@@ -27455,10 +27455,10 @@
<li>
- <p><i>Failed</i>: Reaching this step indicates that the media resource failed to load or that
- the given <a href=#url>URL</a> could not be <a href=#resolve-a-url title="resolve a url">resolved</a>.
- <a href=#queue-a-task>Queue a task</a> to run the following steps, using the <a href=#dom-manipulation-task-source>DOM manipulation task
- source</a>:</p>
+ <p><i title="">Failed with attribute</i>: Reaching this step indicates that the media resource
+ failed to load or that the given <a href=#url>URL</a> could not be <a href=#resolve-a-url title="resolve a
+ url">resolved</a>. <a href=#queue-a-task>Queue a task</a> to run the following steps, using the
+ <a href=#dom-manipulation-task-source>DOM manipulation task source</a>:</p>
<ol><li><p>Set the <code title=dom-media-error><a href=#dom-media-error>error</a></code> attribute to a new
<code><a href=#mediaerror>MediaError</a></code> object whose <code title=dom-MediaError-code><a href=#dom-mediaerror-code>code</a></code> attribute
@@ -27520,7 +27520,7 @@
<li><p>⌛ <i>Process candidate</i>: If <var title="">candidate</var> does not have a
<code title=attr-source-src><a href=#attr-source-src>src</a></code> attribute, or if its <code title=attr-source-src><a href=#attr-source-src>src</a></code> attribute's value is the empty string, then end the
- <a href=#synchronous-section>synchronous section</a>, and jump down to the <i title="">failed</i> step
+ <a href=#synchronous-section>synchronous section</a>, and jump down to the <i title="">failed with elements</i> step
below.</li>
<li><p>⌛ Let <var title="">absolute URL</var> be the <a href=#absolute-url>absolute URL</a> that
@@ -27530,17 +27530,17 @@
or <base> after src="" has no effect -->
<li><p>⌛ If <var title="">absolute URL</var> was not obtained successfully, then end the
- <a href=#synchronous-section>synchronous section</a>, and jump down to the <i title="">failed</i> step
+ <a href=#synchronous-section>synchronous section</a>, and jump down to the <i title="">failed with elements</i> step
below.</li>
<li><p>⌛ If <var title="">candidate</var> has a <code title=attr-source-type><a href=#attr-source-type>type</a></code> attribute whose value, when parsed as a <a href=#mime-type>MIME
type</a> (including any codecs described by the <code title="">codecs</code> parameter, for
types that define that parameter), represents <a href=#a-type-that-the-user-agent-knows-it-cannot-render>a type that the user agent knows it cannot
- render</a>, then end the <a href=#synchronous-section>synchronous section</a>, and jump down to the <i title="">failed</i> step below.</li>
+ render</a>, then end the <a href=#synchronous-section>synchronous section</a>, and jump down to the <i title="">failed with elements</i> step below.</li>
<li><p>⌛ If <var title="">candidate</var> has a <code title=attr-source-media><a href=#attr-source-media>media</a></code> attribute whose value does not <a href=#matches-the-environment title="matches the
environment">match the environment</a>, then end the <a href=#synchronous-section>synchronous section</a>, and
- jump down to the <i title="">failed</i> step below.</li>
+ jump down to the <i title="">failed with elements</i> step below.</li>
<li><p>⌛ Set the <code title=dom-media-currentSrc><a href=#dom-media-currentsrc>currentSrc</a></code> attribute to <var title="">absolute URL</var>.</li>
@@ -27551,7 +27551,7 @@
<var title="">absolute URL</var>. If that algorithm returns without aborting <em>this</em> one,
then the load failed.</li>
- <li><p><i title="">Failed</i>: <a href=#queue-a-task>Queue a task</a>, using the <a href=#dom-manipulation-task-source>DOM manipulation task
+ <li><p><i title="">Failed with elements</i>: <a href=#queue-a-task>Queue a task</a>, using the <a href=#dom-manipulation-task-source>DOM manipulation task
source</a>, to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-error>error</code>
at the <var title="">candidate</var> element.</li>
Modified: source
===================================================================
--- source 2013-06-04 21:21:57 UTC (rev 7903)
+++ source 2013-06-04 21:24:09 UTC (rev 7904)
@@ -28995,6 +28995,7 @@
<!-- precondition: networkState == NETWORK_EMPTY or we're coming straight from the algorithm above
(where setting it to empty is commented out) -->
+<!--CLEANUP-->
<li><p>Set the element's <code title="dom-media-networkState">networkState</code> attribute to
the <code title="dom-media-NETWORK_NO_SOURCE">NETWORK_NO_SOURCE</code> value.</p></li>
@@ -29050,7 +29051,7 @@
<li><p>⌛ If the <code title="attr-media-src">src</code>
attribute's value is the empty string, then end the <span>synchronous section</span>, and jump
- down to the <i title="">failed</i> step below.</p></li>
+ down to the <i title="">failed with attribute</i> step below.</p></li>
<li><p>⌛ Let <var title="">absolute URL</var> be the <span>absolute URL</span> that
would have resulted from <span title="resolve a url">resolving</span> the <span>URL</span>
@@ -29072,10 +29073,10 @@
<li>
- <p><i>Failed</i>: Reaching this step indicates that the media resource failed to load or that
- the given <span>URL</span> could not be <span title="resolve a url">resolved</span>.
- <span>Queue a task</span> to run the following steps, using the <span>DOM manipulation task
- source</span>:</p>
+ <p><i title="">Failed with attribute</i>: Reaching this step indicates that the media resource
+ failed to load or that the given <span>URL</span> could not be <span title="resolve a
+ url">resolved</span>. <span>Queue a task</span> to run the following steps, using the
+ <span>DOM manipulation task source</span>:</p>
<ol>
@@ -29159,7 +29160,7 @@
<li><p>⌛ <i>Process candidate</i>: If <var title="">candidate</var> does not have a
<code title="attr-source-src">src</code> attribute, or if its <code
title="attr-source-src">src</code> attribute's value is the empty string, then end the
- <span>synchronous section</span>, and jump down to the <i title="">failed</i> step
+ <span>synchronous section</span>, and jump down to the <i title="">failed with elements</i> step
below.</p></li>
<li><p>⌛ Let <var title="">absolute URL</var> be the <span>absolute URL</span> that
@@ -29170,7 +29171,7 @@
or <base> after src="" has no effect -->
<li><p>⌛ If <var title="">absolute URL</var> was not obtained successfully, then end the
- <span>synchronous section</span>, and jump down to the <i title="">failed</i> step
+ <span>synchronous section</span>, and jump down to the <i title="">failed with elements</i> step
below.</p></li>
<li><p>⌛ If <var title="">candidate</var> has a <code
@@ -29178,12 +29179,12 @@
type</span> (including any codecs described by the <code title="">codecs</code> parameter, for
types that define that parameter), represents <span>a type that the user agent knows it cannot
render</span>, then end the <span>synchronous section</span>, and jump down to the <i
- title="">failed</i> step below.</p></li>
+ title="">failed with elements</i> step below.</p></li>
<li><p>⌛ If <var title="">candidate</var> has a <code
title="attr-source-media">media</code> attribute whose value does not <span title="matches the
environment">match the environment</span>, then end the <span>synchronous section</span>, and
- jump down to the <i title="">failed</i> step below.</p></li>
+ jump down to the <i title="">failed with elements</i> step below.</p></li>
<li><p>⌛ Set the <code title="dom-media-currentSrc">currentSrc</code> attribute to <var
title="">absolute URL</var>.</p></li>
@@ -29195,7 +29196,7 @@
<var title="">absolute URL</var>. If that algorithm returns without aborting <em>this</em> one,
then the load failed.</p></li>
- <li><p><i title="">Failed</i>: <span>Queue a task</span>, using the <span>DOM manipulation task
+ <li><p><i title="">Failed with elements</i>: <span>Queue a task</span>, using the <span>DOM manipulation task
source</span>, to <span>fire a simple event</span> named <code title="event-error">error</code>
at the <var title="">candidate</var> element.</p></li>
More information about the Commit-Watchers
mailing list