--- a/submitted/W3C/audio.html Mon Jun 03 18:37:32 2013 +0200
+++ b/submitted/W3C/audio.html Mon Jun 03 23:31:21 2013 +0200
@@ -22,6 +22,7 @@
navigator.getUserMedia({audio:true}, t.step_func(function (stream) {
assert_true(stream instanceof MediaStream, "getUserMedia success callback comes with a MediaStream object");
assert_equals(stream.getAudioTracks().length, 1, "the media stream has exactly one audio track");
+ assert_equals(stream.getAudioTracks()[0].kind, "audio", "getAudioTracks() returns a sequence of tracks whose kind is 'audio'");
assert_equals(stream.getVideoTracks().length, 0, "the media stream has zero video track");
t.done();
}));