Bug 1547899 - Add crashtest. r=jib

Differential Revision: https://phabricator.services.mozilla.com/D35320

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Andreas Pehrson 2019-06-26 09:18:38 +00:00
Родитель 9dea54581e
Коммит 1151ab349e
2 изменённых файлов: 21 добавлений и 0 удалений

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

@ -0,0 +1,20 @@
<html>
<head>
<script>
function start () {
const video = document.getElementById('id_0')
const stream_1 = new MediaStream()
const stream_2 = video.mozCaptureStreamUntilEnded()
const track = stream_2.getTracks()[0]
video.srcObject = stream_1
stream_1.addTrack(track)
}
window.addEventListener('load', start)
</script>
</head>
<body>
<video id="id_0" src="data:audio/mpeg;base64,ZQr/+1DEAAAAAAAAAAAAAAAAAAAAAABJbmZvAAAADwAAAAsAAAnKABcXFxcXFxcXFy4uLi4uLi4uLkVFRUVFRUVFRV1dXV1dXV1dXXR0dHR0dHR0dIuLi4uLi4uLi6KioqKioqKiorq6urq6urq6utHR0dHR0dHR0ejo6Ojo6Ojo6P///////////wAAADlMQU1FMy45OHIBpQAAAAAuHQAAFEAkBElCAABAAAAJyuGI2MQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//tQxAAABmQjXHSRAAH6IfB3OVIDAADLlmjIxWKxWTyIABgmGydGjRox4f8Tg+D4OAgc/BwEDn+UBD+qwH/+8Tny7///KO4IYDgcDgcDgcDgcCgQAAAKKBUFc/nnP30a5O0zyYzMNMkzKlPva2GXgMIBbwDQEAYDQNXGLT2EIgEhoFnQNDb4BAPD9wTFYGJBWJw/8AUWgMBQgIEg4KmAKGP/wRG0csCIWDaQxcFhYvv/8WYMUpEIkXhvnRef//kmsuLPH5OvSoAFKxrJIm26DP/7UsQ">
</body>
</html>

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

@ -126,3 +126,4 @@ load 1538727.html
load empty-samples.webm # Bug 1540580
test-pref(media.autoplay.block-webaudio,false) load 1545133.html
load track-with-zero-dimensions.mp4 # Bug 1542539
load 1547899.html