Click here to download the Blitz Browser!

WPT

wpt / webaudio / the-audio-api / the-audioworklet-interface / audioworkletnode-construction.https.html

Spec: Web Audio API ↗

Runs: Chrome 155.0.8042.0 (wpt@4eb09bcd9, 2026-09-04) | Firefox 157.0a1 (wpt@c3fcbf4ba, 2026-09-04) | Safari 251 preview (wpt@e7122b73f, 2026-09-04) | Ladybird 1.0-52f0f (wpt@a1ecd0c09, 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
Total12/1212/1212/125/125/12NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
# AUDIT TASK RUNNER STARTED.PASSPASSPASSPASSPASS
Executing "construction-before-module-loading"PASSPASSPASSPASSPASS
Executing "construction-after-module-loading"PASSPASSPASSFAILFAIL
Audit reportPASSPASSPASSPASSPASS
> [construction-before-module-loading] PASSPASSPASSPASSPASS
Creating a node before loading a module should throw. threw InvalidStateError: "Failed to construct 'AudioWorkletNode': AudioWorkletNode cannot be created: AudioWorklet does not have a valid AudioWorkletGlobalScope. Load a script via audioWorklet.addModule() first.".PASS
< [construction-before-module-loading] All assertions passed. (total 1 assertions)PASSPASSPASS
> [construction-after-module-loading] PASSPASSPASSPASSPASS
"dummyWorkletNode" is an instance of AudioWorkletNode is true.PASSPASSPASS
Unregistered name "foobar" must throw an exception. threw InvalidStateError: "Failed to construct 'AudioWorkletNode': AudioWorkletNode cannot be created: The node name 'foobar' is not defined in AudioWorkletGlobalScope.".PASS
< [construction-after-module-loading] All assertions passed. (total 2 assertions)PASSPASSPASS
# AUDIT TASK RUNNER FINISHED: 2 tasks ran successfully.PASSPASSPASS
Creating a node before loading a module should throw. threw InvalidStateError: "AudioWorkletNode constructor: Unknown AudioWorklet name 'dummy'".PASS
Unregistered name "foobar" must throw an exception. threw InvalidStateError: "AudioWorkletNode constructor: Unknown AudioWorklet name 'foobar'".PASS
Creating a node before loading a module should throw. threw InvalidStateError: "No ScriptProcessor was registered with this name".PASS
Unregistered name "foobar" must throw an exception. threw InvalidStateError: "No ScriptProcessor was registered with this name".PASS
X Creating a node before loading a module should throw. threw "ReferenceError" instead of InvalidStateError.FAILFAIL
< [construction-before-module-loading] 1 out of 1 assertions were failed.FAILFAIL
# AUDIT TASK RUNNER FINISHED: 1 out of 2 tasks were failed.FAILFAIL