WPT
wpt / webaudio / the-audio-api / the-audiocontext-interface / audiocontext-sinkid-setsinkid.https.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@7e3d005d7, 2026-09-03) | 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 | 8/8 | 1/8 | 0/8 | 0/8 | 0/8 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| default AudioContext.sinkId should be the empty string. | PASS | FAIL | FAIL | NOTRUN | NOTRUN | — |
| setSinkId() with a valid device identifier and setting the same ID should succeed. | PASS | PASS | FAIL | NOTRUN | NOTRUN | — |
| setSinkId() with AudioSinkOptions.type of "none" and setting the same option should succeed. | PASS | FAIL | FAIL | NOTRUN | NOTRUN | — |
| setSinkId() should fail with TypeError on an invalid AudioSinkOptions.type value. | PASS | FAIL | FAIL | NOTRUN | NOTRUN | — |
| setSinkId() should fail with NotFoundError on an invalid device identifier. | PASS | FAIL | FAIL | NOTRUN | NOTRUN | — |
| setSinkId() should fail with InvalidStateError when calling from a stopped AudioContext. | PASS | FAIL | FAIL | NOTRUN | NOTRUN | — |
| setSinkId() should fail with InvalidStateError when calling from a detached document. | PASS | FAIL | FAIL | NOTRUN | NOTRUN | — |
| pending setSinkId() should be rejected with InvalidStateError when AudioContext is closed. | PASS | FAIL | FAIL | NOTRUN | NOTRUN | — |