Skip to content

Commit

Permalink
[gow] (2) loadeddata fires even when jumping throught to HAVE_FUTURE_…
Browse files Browse the repository at this point in the history
…DATA. (credit: ec)

git-svn-id: http://svn.whatwg.org/webapps@2991 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 26, 2009
1 parent be72d87 commit 003ff7a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
7 changes: 6 additions & 1 deletion index
Expand Up @@ -20850,7 +20850,8 @@ interface <dfn id=cuerangecallback>CueRangeCallback</dfn> {

<dt id=handling-first-frame-available>If the previous ready state
was <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code> and
the new ready state is <code title=dom-media-HAVE_CURRENT_DATA><a href=#dom-media-have_current_data>HAVE_CURRENT_DATA</a></code></dt>
the new ready state is <code title=dom-media-HAVE_CURRENT_DATA><a href=#dom-media-have_current_data>HAVE_CURRENT_DATA</a></code> or
greater</dt>

<dd>

Expand All @@ -20859,6 +20860,10 @@ interface <dfn id=cuerangecallback>CueRangeCallback</dfn> {
the user agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a
simple event</a> called <code title=event-loadeddata><a href=#event-loadeddata>loadeddata</a></code> at the element.</p>

<p>If the new ready state is <code title=dom-media-HAVE_FUTURE_DATA><a href=#dom-media-have_future_data>HAVE_FUTURE_DATA</a></code> or
<code title=dom-media-HAVE_ENOUGH_DATA><a href=#dom-media-have_enough_data>HAVE_ENOUGH_DATA</a></code>,
then the relevant steps below must then be run also.</p>

</dd>

<!-- going down -->
Expand Down
8 changes: 7 additions & 1 deletion source
Expand Up @@ -22626,7 +22626,8 @@ interface <dfn>CueRangeCallback</dfn> {
<dt id="handling-first-frame-available">If the previous ready state
was <code title="dom-media-HAVE_METADATA">HAVE_METADATA</code> and
the new ready state is <code
title="dom-media-HAVE_CURRENT_DATA">HAVE_CURRENT_DATA</code></dt>
title="dom-media-HAVE_CURRENT_DATA">HAVE_CURRENT_DATA</code> or
greater</dt>

<dd>

Expand All @@ -22637,6 +22638,11 @@ interface <dfn>CueRangeCallback</dfn> {
simple event</span> called <code
title="event-loadeddata">loadeddata</code> at the element.</p>

<p>If the new ready state is <code
title="dom-media-HAVE_FUTURE_DATA">HAVE_FUTURE_DATA</code> or
<code title="dom-media-HAVE_ENOUGH_DATA">HAVE_ENOUGH_DATA</code>,
then the relevant steps below must then be run also.</p>

</dd>

<!-- going down -->
Expand Down

0 comments on commit 003ff7a

Please sign in to comment.