[html5] r6352 - [giow] (1) Explicitly allow 'suspend' before 'fetch' (for preload=none in partic [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Aug 2 16:57:03 PDT 2011
Author: ianh
Date: 2011-08-02 16:57:02 -0700 (Tue, 02 Aug 2011)
New Revision: 6352
Modified:
complete.html
index
source
Log:
[giow] (1) Explicitly allow 'suspend' before 'fetch' (for preload=none in particular).
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12596
Modified: complete.html
===================================================================
--- complete.html 2011-08-02 23:43:44 UTC (rev 6351)
+++ complete.html 2011-08-02 23:57:02 UTC (rev 6352)
@@ -27234,6 +27234,26 @@
algorithm. This is now the element's <a href=#media-resource>media
resource</a>.</li>
+ <li><p>Optionally, run the following substeps. This is the expected
+ behavior if the user agent intends to not attempt to fetch the
+ resource until the use requests it explicitly (e.g. as a way to
+ implement the <code title=attr-media-preload><a href=#attr-media-preload>preload</a></code>
+ attribute's <code title=attr-media-preload-none><a href=#attr-media-preload-none>none</a></code>
+ keyword).</p>
+
+ <ol><li><p>Set the <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> to <code title=dom-media-NETWORK_IDLE><a href=#dom-media-network_idle>NETWORK_IDLE</a></code>.</li>
+
+ <li><p><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-suspend><a href=#event-media-suspend>suspend</a></code> at the
+ element.</li>
+
+ <li><p>Wait for an implementation-defined event (e.g. the user
+ requesting that the media element begin playback).</li>
+
+ <li><p>Set the <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> to <code title=dom-media-NETWORK_LOADING><a href=#dom-media-network_loading>NETWORK_LOADING</a></code>.</li>
+
+ </ol></li>
+
<li>
<p>Perform a <a href=#potentially-cors-enabled-fetch>potentially CORS-enabled fetch</a> of the
Modified: index
===================================================================
--- index 2011-08-02 23:43:44 UTC (rev 6351)
+++ index 2011-08-02 23:57:02 UTC (rev 6352)
@@ -27106,6 +27106,26 @@
algorithm. This is now the element's <a href=#media-resource>media
resource</a>.</li>
+ <li><p>Optionally, run the following substeps. This is the expected
+ behavior if the user agent intends to not attempt to fetch the
+ resource until the use requests it explicitly (e.g. as a way to
+ implement the <code title=attr-media-preload><a href=#attr-media-preload>preload</a></code>
+ attribute's <code title=attr-media-preload-none><a href=#attr-media-preload-none>none</a></code>
+ keyword).</p>
+
+ <ol><li><p>Set the <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> to <code title=dom-media-NETWORK_IDLE><a href=#dom-media-network_idle>NETWORK_IDLE</a></code>.</li>
+
+ <li><p><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-suspend><a href=#event-media-suspend>suspend</a></code> at the
+ element.</li>
+
+ <li><p>Wait for an implementation-defined event (e.g. the user
+ requesting that the media element begin playback).</li>
+
+ <li><p>Set the <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> to <code title=dom-media-NETWORK_LOADING><a href=#dom-media-network_loading>NETWORK_LOADING</a></code>.</li>
+
+ </ol></li>
+
<li>
<p>Perform a <a href=#potentially-cors-enabled-fetch>potentially CORS-enabled fetch</a> of the
Modified: source
===================================================================
--- source 2011-08-02 23:43:44 UTC (rev 6351)
+++ source 2011-08-02 23:57:02 UTC (rev 6352)
@@ -29414,6 +29414,35 @@
algorithm. This is now the element's <span>media
resource</span>.</p></li>
+ <li><p>Optionally, run the following substeps. This is the expected
+ behavior if the user agent intends to not attempt to fetch the
+ resource until the use requests it explicitly (e.g. as a way to
+ implement the <code title="attr-media-preload">preload</code>
+ attribute's <code title="attr-media-preload-none">none</code>
+ keyword).</p>
+
+ <ol>
+
+ <li><p>Set the <code
+ title="dom-media-networkState">networkState</code> to <code
+ title="dom-media-NETWORK_IDLE">NETWORK_IDLE</code>.</p></li>
+
+ <li><p><span>Queue a task</span> to <span>fire a simple
+ event</span> named <code
+ title="event-media-suspend">suspend</code> at the
+ element.</p></li>
+
+ <li><p>Wait for an implementation-defined event (e.g. the user
+ requesting that the media element begin playback).</p></li>
+
+ <li><p>Set the <code
+ title="dom-media-networkState">networkState</code> to <code
+ title="dom-media-NETWORK_LOADING">NETWORK_LOADING</code>.</p></li>
+
+ </ol>
+
+ </li>
+
<li>
<p>Perform a <span>potentially CORS-enabled fetch</span> of the
More information about the Commit-Watchers
mailing list