haikuwebkit/LayoutTests/webaudio/createMediaStreamSource-nul...

11 lines
388 B
Plaintext

Tests that passing null to context.createMediaStreamSource() throws a TypeError.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS context.createMediaStreamSource(null) threw exception TypeError: Argument 1 ('mediaStream') to AudioContext.createMediaStreamSource must be an instance of MediaStream.
PASS successfullyParsed is true
TEST COMPLETE