[html5] r4212 - [gow] (1) Make 'abort' and 'emptied' events in load() fire asynchronously. Fixin [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Oct 20 15:06:10 PDT 2009
Author: ianh
Date: 2009-10-20 15:06:06 -0700 (Tue, 20 Oct 2009)
New Revision: 4212
Modified:
complete.html
index
source
Log:
[gow] (1) Make 'abort' and 'emptied' events in load() fire asynchronously.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7843
Modified: complete.html
===================================================================
--- complete.html 2009-10-20 21:46:40 UTC (rev 4211)
+++ complete.html 2009-10-20 22:06:06 UTC (rev 4212)
@@ -22529,18 +22529,17 @@
value of the <code title=dom-media-defaultPlaybackRate><a href=#dom-media-defaultplaybackrate>defaultPlaybackRate</a></code>
attribute.</li>
- <li><p>If <var title="">aborted</var> is true, 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 is set to <code title=dom-MediaError-MEDIA_ERR_ABORTED><a href=#dom-mediaerror-media_err_aborted>MEDIA_ERR_ABORTED</a></code>,
- and <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-abort><a href=#event-media-abort>abort</a></code> at the <a href=#media-element>media
- element</a>.</li>
-
<li><p>Set the <code title=dom-media-error><a href=#dom-media-error>error</a></code> attribute
to null and the <a href=#autoplaying-flag>autoplaying flag</a> to true.</li>
- <li><p>If <var title="">emptied</var> is true, <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 <a href=#media-element>media element</a>.</li>
+ <li><p>If <var title="">aborted</var> is true, <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-abort><a href=#event-media-abort>abort</a></code> at the <a href=#media-element>media
+ element</a>.</li>
+ <li><p>If <var title="">emptied</var> is true, <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 <a href=#media-element>media
+ element</a>.</li>
+
<li><p>Invoke the <a href=#media-element>media element</a>'s <a href=#concept-media-load-algorithm title=concept-media-load-algorithm>resource selection
algorithm</a>.</li>
Modified: index
===================================================================
--- index 2009-10-20 21:46:40 UTC (rev 4211)
+++ index 2009-10-20 22:06:06 UTC (rev 4212)
@@ -22358,18 +22358,17 @@
value of the <code title=dom-media-defaultPlaybackRate><a href=#dom-media-defaultplaybackrate>defaultPlaybackRate</a></code>
attribute.</li>
- <li><p>If <var title="">aborted</var> is true, 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 is set to <code title=dom-MediaError-MEDIA_ERR_ABORTED><a href=#dom-mediaerror-media_err_aborted>MEDIA_ERR_ABORTED</a></code>,
- and <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-abort><a href=#event-media-abort>abort</a></code> at the <a href=#media-element>media
- element</a>.</li>
-
<li><p>Set the <code title=dom-media-error><a href=#dom-media-error>error</a></code> attribute
to null and the <a href=#autoplaying-flag>autoplaying flag</a> to true.</li>
- <li><p>If <var title="">emptied</var> is true, <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 <a href=#media-element>media element</a>.</li>
+ <li><p>If <var title="">aborted</var> is true, <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-abort><a href=#event-media-abort>abort</a></code> at the <a href=#media-element>media
+ element</a>.</li>
+ <li><p>If <var title="">emptied</var> is true, <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 <a href=#media-element>media
+ element</a>.</li>
+
<li><p>Invoke the <a href=#media-element>media element</a>'s <a href=#concept-media-load-algorithm title=concept-media-load-algorithm>resource selection
algorithm</a>.</li>
Modified: source
===================================================================
--- source 2009-10-20 21:46:40 UTC (rev 4211)
+++ source 2009-10-20 22:06:06 UTC (rev 4212)
@@ -24044,22 +24044,19 @@
title="dom-media-defaultPlaybackRate">defaultPlaybackRate</code>
attribute.</p></li>
- <li><p>If <var title="">aborted</var> is true, set the <code
- title="dom-media-error">error</code> attribute to a new
- <code>MediaError</code> object whose <code
- title="dom-MediaError-code">code</code> attribute is set to <code
- title="dom-MediaError-MEDIA_ERR_ABORTED">MEDIA_ERR_ABORTED</code>,
- and <span>fire a simple event</span> named <code
- title="event-media-abort">abort</code> at the <span>media
- element</span>.</p></li>
-
<li><p>Set the <code title="dom-media-error">error</code> attribute
to null and the <span>autoplaying flag</span> to true.</p></li>
- <li><p>If <var title="">emptied</var> is true, <span>fire a simple
- event</span> named <code title="event-media-emptied">emptied</code> at
- the <span>media element</span>.</p></li>
+ <li><p>If <var title="">aborted</var> is true, <span>queue a
+ task</span> to <span>fire a simple event</span> named <code
+ title="event-media-abort">abort</code> at the <span>media
+ element</span>.</p></li>
+ <li><p>If <var title="">emptied</var> is true, <span>queue a
+ task</span> to <span>fire a simple event</span> named <code
+ title="event-media-emptied">emptied</code> at the <span>media
+ element</span>.</p></li>
+
<li><p>Invoke the <span>media element</span>'s <span
title="concept-media-load-algorithm">resource selection
algorithm</span>.</li>
More information about the Commit-Watchers
mailing list