Bug 1587248 - Add crashtest. r=bryce

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Andreas Pehrson 2019-10-17 18:25:18 +00:00
Родитель cee2912fd6
Коммит 5165fe41eb
2 изменённых файлов: 24 добавлений и 0 удалений

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

@ -0,0 +1,23 @@
<html class="reftest-wait">
<head>
<script>
function start () {
const audio = document.getElementById('id_4')
const doc = new Document()
const stream = new MediaStream()
const track = document.createElementNS('http://www.w3.org/1999/xhtml', 'track')
audio.srcObject = stream
track.textContent = '<27>'
setTimeout(() => {
track.replaceChild(audio, track.childNodes[0])
audio.play().then(function (arg4) { })
document.documentElement.removeAttribute("class")
}, 157)
doc.adoptNode(audio)
}
document.addEventListener('DOMContentLoaded', start)
</script>
</head>
<audio class="" id="id_4" itemscope></audio>
</html>

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

@ -132,3 +132,4 @@ load 1547899.html
load 1569645.html
load 1575271.html
load 1577184.html
pref(media.autoplay.default,0) load 1587248.html