hixie: <video>: Make a network error not hide what's loaded so far. (whatwg r5118)

hixie: <video>: Make a network error not hide what's loaded so far.
(whatwg r5118)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4105&r2=1.4106&f=h
http://html5.org/tools/web-apps-tracker?from=5117&to=5118

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4105
retrieving revision 1.4106
diff -u -d -r1.4105 -r1.4106
--- Overview.html 25 Jun 2010 19:22:23 -0000 1.4105
+++ Overview.html 29 Jun 2010 17:49:23 -0000 1.4106
@@ -21213,12 +21213,15 @@
        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>Set the element's <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> attribute to
+       <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.</li> <!-- XXX shouldn't this be _IDLE? see
-       aborted-by-user state below -->
+       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
+       the <code title="dom-media-NETWORK_IDLE"><a href="#dom-media-network_idle">NETWORK_IDLE</a></code>
+       value.</li>
 
        <li><p>Set the element's <a href="#delaying-the-load-event-flag">delaying-the-load-event
        flag</a> to false. This stops <a href="#delay-the-load-event" title="delay the load
@@ -21250,12 +21253,15 @@
        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>Set the element's <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> attribute to
+       <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.</li> <!-- XXX shouldn't this be _IDLE? see
-       aborted-by-user case below -->
+       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
+       the <code title="dom-media-NETWORK_IDLE"><a href="#dom-media-network_idle">NETWORK_IDLE</a></code>
+       value.</li>
 
        <li><p>Set the element's <a href="#delaying-the-load-event-flag">delaying-the-load-event
        flag</a> to false. This stops <a href="#delay-the-load-event" title="delay the load

Received on Tuesday, 29 June 2010 17:50:11 UTC