[html5] r6353 - [giow] (1) The way this was written was confusing as it seemed to conflict with [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Aug 2 17:01:25 PDT 2011


Author: ianh
Date: 2011-08-02 17:01:24 -0700 (Tue, 02 Aug 2011)
New Revision: 6353

Modified:
   complete.html
   index
   source
Log:
[giow] (1) The way this was written was confusing as it seemed to conflict with the earlier network error case.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12598

Modified: complete.html
===================================================================
--- complete.html	2011-08-02 23:57:02 UTC (rev 6352)
+++ complete.html	2011-08-03 00:01:24 UTC (rev 6353)
@@ -239,7 +239,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1>Web Applications 1.0</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 2 August 2011</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 3 August 2011</h2>
    </hgroup><dl><dt>Multiple-page version:</dt>
     <dd><a href=http://www.whatwg.org/specs/web-apps/current-work/complete/>http://www.whatwg.org/specs/web-apps/current-work/complete/</a></dd>
     <dt>One-page version:</dt>
@@ -27520,15 +27520,17 @@
      </dd>
 
 
-     <dt>If the connection is interrupted, causing the user agent to
+     <dt>If the connection is interrupted after some <a href=#media-data>media data</a> has been received, causing the user agent to
      give up trying to fetch the resource</dt>
 
      <dd>
 
       <p>Fatal network errors that occur after the user agent has
       established whether the <var title="">current media
-      resource</var> is usable must cause the user agent to execute
-      the following steps:</p>
+      resource</var> is usable (i.e. once the <a href=#media-element>media
+      element</a>'s <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> attribute is no
+      longer <code title=dom-media-HAVE_NOTHING><a href=#dom-media-have_nothing>HAVE_NOTHING</a></code>)
+      must cause the user agent to execute the following steps:</p>
 
       <ol><li><p>The user agent should cancel the fetching
        process.</li>
@@ -27541,13 +27543,7 @@
        event</a> named <code title=event-media-error><a href=#event-media-error>error</a></code>
        at the <a href=#media-element>media element</a>.</li>
 
-       <li><p>If the <a href=#media-element>media element</a>'s <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> attribute has a
-       value equal to <code title=dom-media-HAVE_NOTHING><a href=#dom-media-have_nothing>HAVE_NOTHING</a></code>, 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_EMPTY><a href=#dom-media-network_empty>NETWORK_EMPTY</a></code>
-       value and <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple
-       event</a> named <code title=event-media-emptied><a href=#event-media-emptied>emptied</a></code>
-       at the element. Otherwise, set the element's <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute to
+       <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_IDLE><a href=#dom-media-network_idle>NETWORK_IDLE</a></code>
        value.</li>
 

Modified: index
===================================================================
--- index	2011-08-02 23:57:02 UTC (rev 6352)
+++ index	2011-08-03 00:01:24 UTC (rev 6353)
@@ -243,7 +243,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 2 August 2011</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 3 August 2011</h2>
    </hgroup><dl><dt><strong>Web developer edition</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -27392,15 +27392,17 @@
      </dd>
 
 
-     <dt>If the connection is interrupted, causing the user agent to
+     <dt>If the connection is interrupted after some <a href=#media-data>media data</a> has been received, causing the user agent to
      give up trying to fetch the resource</dt>
 
      <dd>
 
       <p>Fatal network errors that occur after the user agent has
       established whether the <var title="">current media
-      resource</var> is usable must cause the user agent to execute
-      the following steps:</p>
+      resource</var> is usable (i.e. once the <a href=#media-element>media
+      element</a>'s <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> attribute is no
+      longer <code title=dom-media-HAVE_NOTHING><a href=#dom-media-have_nothing>HAVE_NOTHING</a></code>)
+      must cause the user agent to execute the following steps:</p>
 
       <ol><li><p>The user agent should cancel the fetching
        process.</li>
@@ -27413,13 +27415,7 @@
        event</a> named <code title=event-media-error><a href=#event-media-error>error</a></code>
        at the <a href=#media-element>media element</a>.</li>
 
-       <li><p>If the <a href=#media-element>media element</a>'s <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> attribute has a
-       value equal to <code title=dom-media-HAVE_NOTHING><a href=#dom-media-have_nothing>HAVE_NOTHING</a></code>, 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_EMPTY><a href=#dom-media-network_empty>NETWORK_EMPTY</a></code>
-       value and <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple
-       event</a> named <code title=event-media-emptied><a href=#event-media-emptied>emptied</a></code>
-       at the element. Otherwise, set the element's <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute to
+       <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_IDLE><a href=#dom-media-network_idle>NETWORK_IDLE</a></code>
        value.</li>
 

Modified: source
===================================================================
--- source	2011-08-02 23:57:02 UTC (rev 6352)
+++ source	2011-08-03 00:01:24 UTC (rev 6353)
@@ -29752,15 +29752,18 @@
      </dd>
 
 
-     <dt>If the connection is interrupted, causing the user agent to
+     <dt>If the connection is interrupted after some <span>media data</span> has been received, causing the user agent to
      give up trying to fetch the resource</dt>
 
      <dd>
 
       <p>Fatal network errors that occur after the user agent has
       established whether the <var title="">current media
-      resource</var> is usable must cause the user agent to execute
-      the following steps:</p>
+      resource</var> is usable (i.e. once the <span>media
+      element</span>'s <code
+      title="dom-media-readyState">readyState</code> attribute is no
+      longer <code title="dom-media-HAVE_NOTHING">HAVE_NOTHING</code>)
+      must cause the user agent to execute the following steps:</p>
 
       <ol>
 
@@ -29777,17 +29780,8 @@
        event</span> named <code title="event-media-error">error</code>
        at the <span>media element</span>.</p></li>
 
-       <li><p>If the <span>media element</span>'s <code
-       title="dom-media-readyState">readyState</code> attribute has a
-       value equal to <code
-       title="dom-media-HAVE_NOTHING">HAVE_NOTHING</code>, set the
-       element's <code
+       <li><p>Set the element's <code
        title="dom-media-networkState">networkState</code> attribute to
-       the <code title="dom-media-NETWORK_EMPTY">NETWORK_EMPTY</code>
-       value and <span>queue a task</span> to <span>fire a simple
-       event</span> named <code title="event-media-emptied">emptied</code>
-       at the element. Otherwise, set the element's <code
-       title="dom-media-networkState">networkState</code> attribute to
        the <code title="dom-media-NETWORK_IDLE">NETWORK_IDLE</code>
        value.</p></li>
 




More information about the Commit-Watchers mailing list