Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Errors
- This test gets skipped with pattern: !webrtc OR (os == 'android')
- This test failed 3 times in the preceding 30 days. quicksearch this test
- Manifest: dom/media/tests/crashtests/crashtests.list
<html class="reftest-wait">
<head>
<script>
async function start () {
for (let i = 0; i < 30; ++i) {
SpecialPowers.wrap(document).notifyUserGestureActivation();
const s = await navigator.mediaDevices.getDisplayMedia({video: {frameRate: 60}});
const [t] = s.getTracks();
await t.applyConstraints({frameRate: 59}); // reconfigures backend
await new Promise(r => setTimeout(r, i));
t.stop();
}
document.documentElement.removeAttribute("class")
}
document.addEventListener('DOMContentLoaded', start)
</script>
</head>
</html>