--- a/submitted/W3C/video.html Thu May 30 14:11:43 2013 +0200
+++ b/submitted/W3C/video.html Thu May 30 14:13:20 2013 +0200
@@ -21,8 +21,8 @@
t.step(function() {
navigator.getUserMedia({video: true}, t.step_func(function (stream) {
assert_true(stream instanceof MediaStream, "getUserMedia success callback comes with a MediaStream object");
- assert_equals(stream.audioTracks.length, 0, "the media stream has zero audio track");
- assert_equals(stream.videoTracks.length, 1, "the media stream has exactly one video track");
+ assert_equals(stream.getAudioTracks().length, 0, "the media stream has zero audio track");
+ assert_equals(stream.getVideoTracks().length, 1, "the media stream has exactly one video track");
t.done();
}), function(error) {});
});