From ed5a4a77673a68a5c1f1dd9a6a477d5c05ded2cc Mon Sep 17 00:00:00 2001 From: Raymond Toy Date: Mon, 14 Nov 2016 08:47:53 -0800 Subject: [PATCH] Fix #1067: Add arguments to event constructors To be useful, the event constructors needs arguments. Add them and also define the needed dictionaries. --- index.html | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 53 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index fe016827c..3c661094c 100644 --- a/index.html +++ b/index.html @@ -2270,8 +2270,8 @@

OfflineAudioContext for legacy reasons.

+ "[Constructor(DOMString type, OfflineAudioCompletionEventInit eventInitDict)]interface OfflineAudioCompletionEvent : Event" + class="idl">
readonly attribute AudioBuffer renderedBuffer
@@ -2281,6 +2281,22 @@

+
+

+ OfflineAudioCompletionEventInit +

+
+
+ required AudioBuffer renderedBuffer +
+
+ Value to be assigned to the renderedBuffer + attribute of the event. +
+
+
@@ -6092,8 +6108,9 @@

synthesized data if there are no inputs) is then placed into the outputBuffer.

-
+
readonly attribute double playbackTime
@@ -6136,6 +6153,38 @@

+
+

+ AudioProcessingEventInit +

+
+
+ required double playbackTime +
+
+ Value to be assigned to the playbackTime + attribute of the event. +
+
+ required AudioBuffer inputBuffer +
+
+ Value to be assigned to the inputBuffer + attribute of the event. +
+
+ required AudioBuffer outputBuffer; +
+
+ Value to be assigned to the outputBuffer + attribute of the event. +
+
+