Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

<!DOCTYPE html>
<html class="reftest-wait">
<head>
<script>
document.addEventListener("DOMContentLoaded", async () => {
const stream = await navigator.mediaDevices.getUserMedia({
"video": {
"frameRate": {
"max": -128
}
}
});
const v = document.createElement("video");
v.srcObject = stream;
v.play();
await new Promise(r => v.onresize = r);
document.documentElement.removeAttribute("class");
});
</script>
</head>
</html>