mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1031137 - Make content/media/test/crashtests/1028458.html pass if audio input hardware is unavailable. r=jesup
This commit is contained in:
parent
091d058801
commit
1e76371a8d
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user