[html5] r7494 - [giow] (1) Prevent a race condition between <video onerror> and <body onload> Fi [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Oct 31 16:14:30 PDT 2012


Author: ianh
Date: 2012-10-31 16:14:29 -0700 (Wed, 31 Oct 2012)
New Revision: 7494

Modified:
   complete.html
   index
   source
Log:
[giow] (1) Prevent a race condition between <video onerror> and <body onload>
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=18570
Affected topics: Video and Audio

Modified: complete.html
===================================================================
--- complete.html	2012-10-31 23:02:57 UTC (rev 7493)
+++ complete.html	2012-10-31 23:14:29 UTC (rev 7494)
@@ -29591,6 +29591,12 @@
     source</a> in one of the <a href=#task-queue title="task queue">task
     queues</a>, then remove those tasks.</p>
 
+    <p>If there are any <a href=#concept-task title=concept-task>tasks</a> that were <a href=#queue-a-task title="queue a
+    task">queued</a> by the <a href=#concept-media-load-algorithm title=concept-media-load-algorithm>resource selection
+    algorithm</a> for this same <a href=#media-element>media element</a> from the <a href=#dom-manipulation-task-source>DOM manipulation task
+    source</a> in one of the <a href=#task-queue title="task queue">task queues</a>, then remove those
+    tasks.</p>
+
     <p class=note>Basically, pending events and callbacks for the
     media element are discarded when the media element starts loading
     a new resource.</p>
@@ -29785,9 +29791,8 @@
 
       </ol></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-error><a href=#event-media-error>error</a></code>
-     at the <a href=#media-element>media element</a>.</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-error><a href=#event-media-error>error</a></code> at the <a href=#media-element>media element</a>, using the <a href=#dom-manipulation-task-source>DOM
+     manipulation task source</a>.</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 event">delaying
@@ -32510,7 +32515,7 @@
   </table><hr><p>The <a href=#task-source>task source</a> for the <a href=#concept-task title=concept-task>tasks</a> listed in this section is the
   <a href=#dom-manipulation-task-source>DOM manipulation task source</a>.</p>
 
-  <!-- v2 should also fire an event when the list changes -->
+  <!-- v2 should also fire an event when the list changes (but note that that should be on the media element event task source) -->
 
   </div>
 

Modified: index
===================================================================
--- index	2012-10-31 23:02:57 UTC (rev 7493)
+++ index	2012-10-31 23:14:29 UTC (rev 7494)
@@ -29591,6 +29591,12 @@
     source</a> in one of the <a href=#task-queue title="task queue">task
     queues</a>, then remove those tasks.</p>
 
+    <p>If there are any <a href=#concept-task title=concept-task>tasks</a> that were <a href=#queue-a-task title="queue a
+    task">queued</a> by the <a href=#concept-media-load-algorithm title=concept-media-load-algorithm>resource selection
+    algorithm</a> for this same <a href=#media-element>media element</a> from the <a href=#dom-manipulation-task-source>DOM manipulation task
+    source</a> in one of the <a href=#task-queue title="task queue">task queues</a>, then remove those
+    tasks.</p>
+
     <p class=note>Basically, pending events and callbacks for the
     media element are discarded when the media element starts loading
     a new resource.</p>
@@ -29785,9 +29791,8 @@
 
       </ol></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-error><a href=#event-media-error>error</a></code>
-     at the <a href=#media-element>media element</a>.</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-error><a href=#event-media-error>error</a></code> at the <a href=#media-element>media element</a>, using the <a href=#dom-manipulation-task-source>DOM
+     manipulation task source</a>.</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 event">delaying
@@ -32510,7 +32515,7 @@
   </table><hr><p>The <a href=#task-source>task source</a> for the <a href=#concept-task title=concept-task>tasks</a> listed in this section is the
   <a href=#dom-manipulation-task-source>DOM manipulation task source</a>.</p>
 
-  <!-- v2 should also fire an event when the list changes -->
+  <!-- v2 should also fire an event when the list changes (but note that that should be on the media element event task source) -->
 
   </div>
 

Modified: source
===================================================================
--- source	2012-10-31 23:02:57 UTC (rev 7493)
+++ source	2012-10-31 23:14:29 UTC (rev 7494)
@@ -32057,6 +32057,12 @@
     source</span> in one of the <span title="task queue">task
     queues</span>, then remove those tasks.</p>
 
+    <p>If there are any <span title="concept-task">tasks</span> that were <span title="queue a
+    task">queued</span> by the <span title="concept-media-load-algorithm">resource selection
+    algorithm</span> for this same <span>media element</span> from the <span>DOM manipulation task
+    source</span> in one of the <span title="task queue">task queues</span>, then remove those
+    tasks.</p>
+
     <p class="note">Basically, pending events and callbacks for the
     media element are discarded when the media element starts loading
     a new resource.</p>
@@ -32302,9 +32308,9 @@
 
      </li>
 
-     <li><p><span>Queue a task</span> to <span>fire a simple
-     event</span> named <code title="event-media-error">error</code>
-     at the <span>media element</span>.</p></li>
+     <li><p><span>Queue a task</span> to <span>fire a simple event</span> named <code
+     title="event-media-error">error</code> at the <span>media element</span>, using the <span>DOM
+     manipulation task source</span>.</p></li>
 
      <li><p>Set the element's <span>delaying-the-load-event flag</span>
      to false. This stops <span title="delay the load event">delaying
@@ -35549,7 +35555,7 @@
   title="concept-task">tasks</span> listed in this section is the
   <span>DOM manipulation task source</span>.</p>
 
-  <!-- v2 should also fire an event when the list changes -->
+  <!-- v2 should also fire an event when the list changes (but note that that should be on the media element event task source) -->
 
   </div>
 




More information about the Commit-Watchers mailing list