blob: 1c94aafdb1f958f58dff6f75ca68d8f5b2547df9 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../resources/js-test-pre.js"></script>
<script src="resources/audio-testing.js"></script>
</head>
<body>
<script>
description("Tests that passing null to context.createMediaStreamSource() throws a TypeError.");
var context = new webkitAudioContext();
shouldThrow("context.createMediaStreamSource(null)", "'TypeError: Argument 1 (\\'mediaStream\\') to webkitAudioContext.createMediaStreamSource must be an instance of MediaStream'");
</script>
<script src="../resources/js-test-post.js"></script>
</body>
</html>