Source code

Revision control

Copy as Markdown

Other Tools

[audiocontext-sinkid-setsinkid.https.html]
expected:
if os == "win": ERROR
if os == "mac": [OK, ERROR, TIMEOUT]
if os == "linux": ERROR
[ERROR, TIMEOUT]
[setSinkId() with a valid device identifier should succeeded.]
expected:
if os == "mac": [FAIL, NOTRUN]
NOTRUN
[setSinkId() with the same sink ID should resolve immediately.]
expected:
if os == "mac": [FAIL, NOTRUN]
NOTRUN
[setSinkId() with the same AudioSinkOptions.type value should resolve immediately.]
expected:
if os == "mac": [FAIL, NOTRUN]
NOTRUN
[setSinkId() should fail with TypeError on an invalid AudioSinkOptions.type value.]
expected:
if os == "mac": [FAIL, NOTRUN]
NOTRUN
[setSinkId() should fail with NotFoundError on an invalid device identifier.]
expected:
if os == "mac": [FAIL, NOTRUN]
NOTRUN
[setSinkId() should fail with InvalidStateError when calling from astopped AudioContext]
expected:
if os == "mac": [FAIL, NOTRUN]
NOTRUN
[setSinkId() should fail with InvalidStateError when calling from adetached document]
expected:
if os == "mac": [FAIL, NOTRUN]
NOTRUN
[pending setSinkId() should be rejected with InvalidStateError whenAudioContext is closed]
expected:
if os == "mac": [FAIL, NOTRUN]
NOTRUN