--- a/submitted/W3C/video.html Thu May 31 11:21:15 2012 +0200
+++ b/submitted/W3C/video.html Thu May 31 11:28:47 2012 +0200
@@ -17,13 +17,13 @@
<script src=featuredetection.js></script>
<script src=prefix.js></script>
<script>
-var t = async_test("Tests that a MediaStream with a single video track is returned");
+var t = async_test("Tests that a MediaStream with at least one video track is returned");
if (window.navigator.getUserMedia) {
navigator.getUserMedia({video:true}, function (stream) {
t.step(function () {
assert_true(stream instanceof LocalMediaStream, "getUserMedia success callback comes with a LocalMediaStream object");
assert_equals(stream.audioTracks.length, 0, "the media stream has zero audio track");
- assert_equals(stream.videoTracks.length, 1, "the media stream has one video track");
+ assert_true(stream.videoTracks.length >= 1, "the media stream has at least one video track");
});
t.done();
});