Skip to content

Commit

Permalink
Fix #1067: Add arguments to event constructors
Browse files Browse the repository at this point in the history
To be useful, the event constructors needs arguments.  Add them and
also define the needed dictionaries.
  • Loading branch information
rtoy committed Nov 14, 2016
1 parent a9f028f commit ed5a4a7
Showing 1 changed file with 53 additions and 4 deletions.
57 changes: 53 additions & 4 deletions index.html
Expand Up @@ -2270,8 +2270,8 @@ <h2 id="OfflineAudioCompletionEvent">
<a><code>OfflineAudioContext</code></a> for legacy reasons.
</p>
<dl title=
"[Constructor]interface OfflineAudioCompletionEvent : Event" class=
"idl">
"[Constructor(DOMString type, OfflineAudioCompletionEventInit eventInitDict)]interface OfflineAudioCompletionEvent : Event"
class="idl">
<dt>
readonly attribute AudioBuffer renderedBuffer
</dt>
Expand All @@ -2281,6 +2281,22 @@ <h2 id="OfflineAudioCompletionEvent">
</p>
</dd>
</dl>
<section>
<h3>
OfflineAudioCompletionEventInit
</h3>
<dl title="dictionary OfflineAudioCompletionEventInit : EventInit"
class="idl">
<dt>
required AudioBuffer renderedBuffer
</dt>
<dd>
Value to be assigned to the <a href=
"#widl-OfflineAudioCompletionEvent-renderedBuffer"><code>renderedBuffer</code></a>
attribute of the event.
</dd>
</dl>
</section>
</section>
</section>
<section>
Expand Down Expand Up @@ -6092,8 +6108,9 @@ <h2>
synthesized data if there are no inputs) is then placed into the
<code>outputBuffer</code>.
</p>
<dl title="[Constructor]interface AudioProcessingEvent : Event" class=
"idl">
<dl title=
"[Constructor((DOMString type, AudioProcessingEventInit eventInitDict)]interface AudioProcessingEvent : Event"
class="idl">
<dt>
readonly attribute double playbackTime
</dt>
Expand Down Expand Up @@ -6136,6 +6153,38 @@ <h2>
</p>
</dd>
</dl>
<section>
<h3>
AudioProcessingEventInit
</h3>
<dl title="dictionary AudioProcessingEventInit : EventInit" class=
"idl">
<dt>
required double playbackTime
</dt>
<dd>
Value to be assigned to the <a href=
"#widl-AudioProcessingEvent-playbackTime"><code>playbackTime</code></a>
attribute of the event.
</dd>
<dt>
required AudioBuffer inputBuffer
</dt>
<dd>
Value to be assigned to the <a href=
"#widl-AudioProcessingEvent-inputBuffer"><code>inputBuffer</code></a>
attribute of the event.
</dd>
<dt>
required AudioBuffer outputBuffer;
</dt>
<dd>
Value to be assigned to the <a href=
"#widl-AudioProcessingEvent-outputBuffer"><code>outputBuffer</code></a>
attribute of the event.
</dd>
</dl>
</section>
</section>
<section>
<h2>
Expand Down

0 comments on commit ed5a4a7

Please sign in to comment.