Skip to content

Commit

Permalink
Bug 27318 - Fix length attribute link in TrackBufferList getter method.
Browse files Browse the repository at this point in the history
  • Loading branch information
acolwell committed Nov 18, 2014
1 parent 41138fd commit 04130c0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@
</p>
<h1 class="title p-name" id="title" property="dcterms:title">Media Source Extensions</h1>

<h2 property="dcterms:issued" datatype="xsd:dateTime" content="2014-11-17T21:37:41.000Z" id="w3c-editor-s-draft-17-november-2014"><abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft <time class="dt-published" datetime="2014-11-17">17 November 2014</time></h2>
<h2 property="dcterms:issued" datatype="xsd:dateTime" content="2014-11-17T21:53:36.000Z" id="w3c-editor-s-draft-17-november-2014"><abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft <time class="dt-published" datetime="2014-11-17">17 November 2014</time></h2>
<dl>

<dt>This version:</dt>
Expand Down Expand Up @@ -2619,7 +2619,7 @@ <h3 aria-level="2" role="heading" id="h3_sourcebufferlist-events"><span class="s


<table class="parameters"><tbody><tr><th>Parameter</th><th>Type</th><th>Nullable</th><th>Optional</th><th>Description</th></tr><tr><td class="prmName">index</td><td class="prmType"><code>unsigned long</code></td><td class="prmNullFalse"><span role="img" aria-label="False"></span></td><td class="prmOptFalse"><span role="img" aria-label="False"></span></td><td class="prmDesc"></td></tr></tbody></table><div><em>Return type: </em><code>getter</code></div><p>When this method is invoked, the user agent must run the following steps:</p><ol class="method-algorithm">
<li>If <var>index</var> is greater than or equal to the <code><a href="#widl-SourceBufferList-length">length</a></code> attribute then return undefined and abort these steps.</li>
<li>If <var>index</var> is greater than or equal to the <code><a href="#widl-TrackDefaultList-length">length</a></code> attribute then return undefined and abort these steps.</li>
<li>Return the <var>index</var>'th <a href="#idl-def-TrackDefault" class="idlType"><code>TrackDefault</code></a> object in the list.</li>
</ol></dd></dl></section>
</section>
Expand Down Expand Up @@ -2952,6 +2952,7 @@ <h3 aria-level="2" role="heading" id="h3_sourcebufferlist-events"><span class="s
<li>Changed Editor's draft link to point to GitHub.</li>
<li>Bug 27353 - Convert exceptions from xxx_ERR to xxxError form. Changed broken exception links to point to HTML5 instead of WHATWG DOM.</li>
<li>Bug 27352 - Changed TrackDefault constructor to throw a TypeError instead of an InvalidAccessError for invalid kinds.</li>
<li>Bug 27318 - Fix length attribute link in TrackBufferList getter method.</li>
</ul>
</td>
</tr>
Expand Down
5 changes: 3 additions & 2 deletions media-source-respec.html
Original file line number Diff line number Diff line change
Expand Up @@ -2099,7 +2099,7 @@ <h2>SourceBufferList Object</h2>
<p>Allows the SourceBuffer objects in the list to be accessed with an array operator (i.e. []).</p>

<ol class="method-algorithm">
<li>If <var>index</var> is greater than or equal to the <a def-id="length"></a> attribute then return undefined and abort these steps.</li>
<li>If <var>index</var> is greater than or equal to the <a def-id="SourceBufferList-length"></a> attribute then return undefined and abort these steps.</li>
<li>Return the <var>index</var>'th <a>SourceBuffer</a> object in the list.</li>
</ol>
</dd>
Expand Down Expand Up @@ -2284,7 +2284,7 @@ <h2>TrackDefaultList Object</h2>
<p>Allows the TrackDefault objects in the list to be accessed with an array operator (i.e. []).</p>

<ol class="method-algorithm">
<li>If <var>index</var> is greater than or equal to the <a def-id="length"></a> attribute then return undefined and abort these steps.</li>
<li>If <var>index</var> is greater than or equal to the <a def-id="TrackDefaultList-length"></a> attribute then return undefined and abort these steps.</li>
<li>Return the <var>index</var>'th <a>TrackDefault</a> object in the list.</li>
</ol>
</dd>
Expand Down Expand Up @@ -2625,6 +2625,7 @@ <h2>Revision History</h2>
<li>Changed Editor's draft link to point to GitHub.</li>
<li>Bug 27353 - Convert exceptions from xxx_ERR to xxxError form. Changed broken exception links to point to HTML5 instead of WHATWG DOM.</li>
<li>Bug 27352 - Changed TrackDefault constructor to throw a TypeError instead of an InvalidAccessError for invalid kinds.</li>
<li>Bug 27318 - Fix length attribute link in TrackBufferList getter method.</li>
</ul>
</td>
</tr>
Expand Down
3 changes: 2 additions & 1 deletion media-source.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,9 @@
'AppendMode-sequence': { func: idlref_helper, fragment: 'idl-def-AppendMode.sequence', link_text: '"sequence"', },
'mode': { func: idlref_helper, fragment: 'widl-SourceBuffer-mode', link_text: 'mode', },
'trackDefaults': { func: idlref_helper, fragment: 'widl-SourceBuffer-trackDefaults', link_text: 'trackDefaults', },
'TrackDefaultList-length': { func: idlref_helper, fragment: 'widl-TrackDefaultList-length', link_text: 'length', },

'length': { func: idlref_helper, fragment: 'widl-SourceBufferList-length', link_text: 'length', },
'SourceBufferList-length': { func: idlref_helper, fragment: 'widl-SourceBufferList-length', link_text: 'length', },
'creationTime': { func: idlref_helper, fragment: 'widl-VideoPlaybackQuality-creationTime', link_text: 'creationTime', },
'totalVideoFrames': { func: idlref_helper, fragment: 'widl-VideoPlaybackQuality-totalVideoFrames', link_text: 'totalVideoFrames', },
'droppedVideoFrames': { func: idlref_helper, fragment: 'widl-VideoPlaybackQuality-droppedVideoFrames', link_text: 'droppedVideoFrames', },
Expand Down

0 comments on commit 04130c0

Please sign in to comment.