Click here to download the Blitz Browser!

WPT

wpt / webaudio / the-audio-api / the-stereopanner-interface / ctor-stereopanner.html

Spec: Web Audio API ↗

Runs: Chrome 155.0.8041.0 (wpt@4a01b83e3, 2026-09-04) | Firefox 157.0a1 (wpt@e7122b73f, 2026-09-04) | Safari 251 preview (wpt@2c385f65e, 2026-09-04) | Ladybird 1.0-70fb3 (wpt@4a01b83e3, 2026-09-04) | Servo Servo 0.6 (wpt@2c385f65e, 2026-09-04) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)

View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi

ChromeFirefoxSafariLadybirdServoBlitz
Total51/5151/5151/5151/5151/51NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
# AUDIT TASK RUNNER STARTED.PASSPASSPASSPASSPASS
Executing "initialize"PASSPASSPASSPASSPASS
Executing "invalid constructor"PASSPASSPASSPASSPASS
Executing "default constructor"PASSPASSPASSPASSPASS
Executing "test AudioNodeOptions"PASSPASSPASSPASSPASS
Executing "constructor with options"PASSPASSPASSPASSPASS
Audit reportPASSPASSPASSPASSPASS
> [initialize] PASSPASSPASSPASSPASS
context = new OfflineAudioContext(...) did not throw an exception.PASSPASSPASSPASSPASS
< [initialize] All assertions passed. (total 1 assertions)PASSPASSPASSPASSPASS
> [invalid constructor] PASSPASSPASSPASSPASS
new StereoPannerNode() threw TypeError: "Failed to construct 'StereoPannerNode': 1 argument required, but only 0 present.".PASS
new StereoPannerNode(1) threw TypeError: "Failed to construct 'StereoPannerNode': parameter 1 is not of type 'BaseAudioContext'.".PASS
new StereoPannerNode(context, 42) threw TypeError: "Failed to construct 'StereoPannerNode': The provided value is not of type 'StereoPannerOptions'.".PASS
< [invalid constructor] All assertions passed. (total 3 assertions)PASSPASSPASSPASSPASS
> [default constructor] PASSPASSPASSPASSPASS
node0 = new StereoPannerNode(context) did not throw an exception.PASSPASSPASSPASSPASS
node0 instanceof StereoPannerNode is equal to true.PASSPASSPASSPASSPASS
node0.numberOfInputs is equal to 1.PASSPASSPASSPASSPASS
node0.numberOfOutputs is equal to 1.PASSPASSPASSPASSPASS
node0.channelCount is equal to 2.PASSPASSPASSPASSPASS
node0.channelCountMode is equal to clamped-max.PASSPASSPASSPASSPASS
node0.channelInterpretation is equal to speakers.PASSPASSPASSPASSPASS
node0.pan.value is equal to 0.PASSPASSPASSPASSPASS
< [default constructor] All assertions passed. (total 8 assertions)PASSPASSPASSPASSPASS
> [test AudioNodeOptions] PASSPASSPASSPASSPASS
new StereoPannerNode(c, {"channelCount":1}) did not throw an exception.PASSPASSPASSPASSPASS
node.channelCount is equal to 1.PASSPASSPASSPASSPASS
new StereoPannerNode(c, {"channelCount":2}) did not throw an exception.PASSPASSPASSPASSPASS
node.channelCount is equal to 2.PASSPASSPASSPASSPASS
new StereoPannerNode(c, {"channelCount":0}) threw NotSupportedError: "Failed to construct 'StereoPannerNode': The channelCount provided (0) is outside the range [1, 2].".PASS
new StereoPannerNode(c, {"channelCount":3}) threw NotSupportedError: "Failed to construct 'StereoPannerNode': The channelCount provided (3) is outside the range [1, 2].".PASS
new StereoPannerNode(c, {"channelCount":99}) threw NotSupportedError: "Failed to construct 'StereoPannerNode': The channelCount provided (99) is outside the range [1, 2].".PASS
new StereoPannerNode(c, {"channelCountMode":"clamped-max"}) did not throw an exception.PASSPASSPASSPASSPASS
node.channelCountMode is equal to clamped-max.PASSPASSPASSPASSPASS
new StereoPannerNode(c, {"channelCountMode":"explicit"}) did not throw an exception.PASSPASSPASSPASSPASS
node.channelCountMode is equal to explicit.PASSPASSPASSPASSPASS
new StereoPannerNode(c, {"channelCountMode":"max"}) threw NotSupportedError: "Failed to construct 'StereoPannerNode': StereoPanner: 'max' is not allowed".PASS
new StereoPannerNode(c, {"channelCountMode":"foobar"}) threw TypeError: "Failed to construct 'StereoPannerNode': Failed to read the 'channelCountMode' property from 'AudioNodeOptions': The provided value 'foobar' is not a valid enum value of type ChannelCountMode.".PASS
new StereoPannerNode(c, {"channelInterpretation":"speakers"}) did not throw an exception.PASSPASSPASSPASSPASS
node.channelInterpretation is equal to speakers.PASSPASSPASSPASSPASS
new StereoPannerNode(c, {"channelInterpretation":"discrete"}) did not throw an exception.PASSPASSPASSPASSPASS
node.channelInterpretation is equal to discrete.PASSPASSPASSPASSPASS
new StereoPannerNode(c, {"channelInterpretation":"foobar"}) threw TypeError: "Failed to construct 'StereoPannerNode': Failed to read the 'channelInterpretation' property from 'AudioNodeOptions': The provided value 'foobar' is not a valid enum value of type ChannelInterpretation.".PASS
< [test AudioNodeOptions] All assertions passed. (total 18 assertions)PASSPASSPASSPASSPASS
> [constructor with options] PASSPASSPASSPASSPASS
node1 = new StereoPannerNode(, {"pan":0.75}) did not throw an exception.PASSPASSPASSPASSPASS
node1 instanceof StereoPannerNode is equal to true.PASSPASSPASSPASSPASS
node1.pan.value is equal to 0.75.PASSPASSPASSPASSPASS
< [constructor with options] All assertions passed. (total 3 assertions)PASSPASSPASSPASSPASS
# AUDIT TASK RUNNER FINISHED: 5 tasks ran successfully.PASSPASSPASSPASSPASS
new StereoPannerNode() threw TypeError: "StereoPannerNode constructor: At least 1 argument required, but only 0 passed".PASS
new StereoPannerNode(1) threw TypeError: "StereoPannerNode constructor: Argument 1 is not an object.".PASS
new StereoPannerNode(context, 42) threw TypeError: "StereoPannerNode constructor: Value can't be converted to a dictionary.".PASS
new StereoPannerNode(c, {"channelCount":0}) threw NotSupportedError: "StereoPannerNode constructor: Channel count (0) must be in the range [1, max supported channel count]".PASS
new StereoPannerNode(c, {"channelCount":3}) threw NotSupportedError: "StereoPannerNode constructor: 3 is greater than 2".PASS
new StereoPannerNode(c, {"channelCount":99}) threw NotSupportedError: "StereoPannerNode constructor: 99 is greater than 2".PASS
new StereoPannerNode(c, {"channelCountMode":"max"}) threw NotSupportedError: "StereoPannerNode constructor: Cannot set channel count mode to "max"".PASS
new StereoPannerNode(c, {"channelCountMode":"foobar"}) threw TypeError: "StereoPannerNode constructor: 'foobar' (value of 'channelCountMode' member of AudioNodeOptions) is not a valid value for enumeration ChannelCountMode.".PASS
new StereoPannerNode(c, {"channelInterpretation":"foobar"}) threw TypeError: "StereoPannerNode constructor: 'foobar' (value of 'channelInterpretation' member of AudioNodeOptions) is not a valid value for enumeration ChannelInterpretation.".PASS
new StereoPannerNode() threw TypeError: "Not enough arguments".PASS
new StereoPannerNode(1) threw TypeError: "Argument 1 ('context') to the StereoPannerNode constructor must be an instance of BaseAudioContext".PASS
new StereoPannerNode(context, 42) threw TypeError: "Type error".PASS
new StereoPannerNode(c, {"channelCount":0}) threw NotSupportedError: "Channel count cannot be 0".PASS
new StereoPannerNode(c, {"channelCount":3}) threw NotSupportedError: "StereoPannerNode's channelCount cannot be greater than 2.".PASS
new StereoPannerNode(c, {"channelCount":99}) threw NotSupportedError: "StereoPannerNode's channelCount cannot be greater than 2.".PASS
new StereoPannerNode(c, {"channelCountMode":"max"}) threw NotSupportedError: "StereoPannerNode's channelCountMode cannot be max.".PASS
new StereoPannerNode(c, {"channelCountMode":"foobar"}) threw TypeError: "Type error".PASS
new StereoPannerNode(c, {"channelInterpretation":"foobar"}) threw TypeError: "Type error".PASS
new StereoPannerNode() threw TypeError: "Not enough arguments to "StereoPannerNode.constructor".".PASS
new StereoPannerNode(1) threw TypeError: "Value is not an object.".PASS
new StereoPannerNode(context, 42) threw TypeError: "Value is not an object.".PASS
new StereoPannerNode(c, {"channelCount":0}) threw NotSupportedError: "The operation is not supported.".PASS
new StereoPannerNode(c, {"channelCount":3}) threw NotSupportedError: "The operation is not supported.".PASS
new StereoPannerNode(c, {"channelCount":99}) threw NotSupportedError: "The operation is not supported.".PASS
new StereoPannerNode(c, {"channelCountMode":"max"}) threw NotSupportedError: "The operation is not supported.".PASS
new StereoPannerNode(c, {"channelCountMode":"foobar"}) threw TypeError: "'foobar' is not a valid enum value for enumeration 'ChannelCountMode'.".PASS
new StereoPannerNode(c, {"channelInterpretation":"foobar"}) threw TypeError: "'foobar' is not a valid enum value for enumeration 'ChannelInterpretation'.".PASS
new StereoPannerNode() threw TypeError: "StereoPannerNode() needs one argument".PASS
new StereoPannerNode(1) threw TypeError: "Not an object of type BaseAudioContext".PASS
new StereoPannerNode(context, 42) threw TypeError: "Not an object of type StereoPannerOptions".PASS
new StereoPannerNode(c, {"channelCount":0}) threw NotSupportedError: "Invalid channel count".PASS
new StereoPannerNode(c, {"channelCount":3}) threw NotSupportedError: "StereoPannerNode does not support channel count greater than 2".PASS
new StereoPannerNode(c, {"channelCount":99}) threw NotSupportedError: "StereoPannerNode does not support channel count greater than 2".PASS
new StereoPannerNode(c, {"channelCountMode":"max"}) threw NotSupportedError: "StereoPannerNode does not support 'max' as channelCountMode.".PASS
new StereoPannerNode(c, {"channelCountMode":"foobar"}) threw TypeError: "Invalid value 'foobar' for enumeration type 'ChannelCountMode'".PASS
new StereoPannerNode(c, {"channelInterpretation":"foobar"}) threw TypeError: "Invalid value 'foobar' for enumeration type 'ChannelInterpretation'".PASS