Bug 1031137 - Make content/media/test/crashtests/1028458.html pass if audio input hardware is unavailable. r=jesup

This commit is contained in:
Paul Adenot 2014-07-08 16:36:48 +02:00
Родитель 3342d0ceea
Коммит 4168675b73
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -14,7 +14,9 @@ navigator.mozGetUserMedia({audio: true}, function(stream) {
testAudio.mozSrcObject = stream;
testAudio.play();
}, function(err) {
console.log(err);
// Don't go orange if we can't get an audio input stream,
// as this is not what we are trying to test and can happen on Windows.
document.querySelector("html").className = "";
});
</script>