Implemented type attribute for OscillatorNode interface

This commit is contained in:
Maria Sable 2019-04-27 12:01:18 -04:00 committed by Fernando Jiménez Moreno
parent 6fb7a8cdc7
commit 969d61a17f
2 changed files with 28 additions and 8 deletions

View file

@ -24,8 +24,8 @@ dictionary OscillatorOptions : AudioNodeOptions {
[Exposed=Window,
Constructor (BaseAudioContext context, optional OscillatorOptions options)]
interface OscillatorNode : AudioScheduledSourceNode {
// [SetterThrows]
// attribute OscillatorType type;
[SetterThrows]
attribute OscillatorType type;
readonly attribute AudioParam frequency;
readonly attribute AudioParam detune;