зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1031137 - Make content/media/test/crashtests/1028458.html pass if audio input hardware is unavailable. r=jesup
This commit is contained in:
Родитель
3342d0ceea
Коммит
4168675b73
|
@ -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>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче