summaryrefslogtreecommitdiff
path: root/Source/WebCore/Modules/webaudio/AudioNode.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/Modules/webaudio/AudioNode.idl')
-rw-r--r--Source/WebCore/Modules/webaudio/AudioNode.idl25
1 files changed, 6 insertions, 19 deletions
diff --git a/Source/WebCore/Modules/webaudio/AudioNode.idl b/Source/WebCore/Modules/webaudio/AudioNode.idl
index 9167e5789..2ba0500c7 100644
--- a/Source/WebCore/Modules/webaudio/AudioNode.idl
+++ b/Source/WebCore/Modules/webaudio/AudioNode.idl
@@ -24,30 +24,17 @@
[
Conditional=WEB_AUDIO,
- JSGenerateToJSObject,
- JSGenerateToNativeObject,
GenerateIsReachable=Impl,
- EventTarget,
] interface AudioNode : EventTarget {
readonly attribute AudioContext context;
readonly attribute unsigned long numberOfInputs;
readonly attribute unsigned long numberOfOutputs;
- [SetterRaisesException] attribute unsigned long channelCount;
+ [SetterMayThrowException] attribute unsigned long channelCount;
+ [SetterMayThrowException] attribute DOMString channelCountMode;
+ [SetterMayThrowException] attribute DOMString channelInterpretation;
- [SetterRaisesException] attribute DOMString channelCountMode;
-
- [SetterRaisesException] attribute DOMString channelInterpretation;
-
- [RaisesException] void connect(AudioNode? destination, [Default=Undefined] optional unsigned long output, [Default=Undefined] optional unsigned long input);
-
- [RaisesException] void connect(AudioParam? destination, [Default=Undefined] optional unsigned long output);
-
- [RaisesException] void disconnect([Default=Undefined] optional unsigned long output);
-
- void addEventListener(DOMString type, EventListener listener, optional boolean useCapture);
-
- void removeEventListener(DOMString type, EventListener listener, optional boolean useCapture);
-
- [RaisesException] boolean dispatchEvent(Event event);
+ [MayThrowException] void connect(AudioNode destination, optional unsigned long output = 0, optional unsigned long input = 0);
+ [MayThrowException] void connect(AudioParam destination, optional unsigned long output = 0);
+ [MayThrowException] void disconnect(optional unsigned long output = 0);
};