зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
cee2912fd6
Коммит
5165fe41eb
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче