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
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 12/12 | 12/12 | 12/12 | 5/12 | 5/12 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| # AUDIT TASK RUNNER STARTED. | PASS | PASS | PASS | PASS | PASS | — |
| Executing "construction-before-module-loading" | PASS | PASS | PASS | PASS | PASS | — |
| Executing "construction-after-module-loading" | PASS | PASS | PASS | FAIL | FAIL | — |
| Audit report | PASS | PASS | PASS | PASS | PASS | — |
| > [construction-before-module-loading] | PASS | PASS | PASS | PASS | PASS | — |
| 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) | PASS | PASS | PASS | — | — | — |
| > [construction-after-module-loading] | PASS | PASS | PASS | PASS | PASS | — |
| "dummyWorkletNode" is an instance of AudioWorkletNode is true. | PASS | PASS | PASS | — | — | — |
| 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) | PASS | PASS | PASS | — | — | — |
| # AUDIT TASK RUNNER FINISHED: 2 tasks ran successfully. | PASS | PASS | PASS | — | — | — |
| 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. | — | — | — | FAIL | FAIL | — |
| < [construction-before-module-loading] 1 out of 1 assertions were failed. | — | — | — | FAIL | FAIL | — |
| # AUDIT TASK RUNNER FINISHED: 1 out of 2 tasks were failed. | — | — | — | FAIL | FAIL | — |