blob: 10c994f845a61cea2165d30a613dfa4597b3bd7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<html class="reftest-wait">
<head>
<script>
(async _ => {
const video = document.createElement("video");
video.mozCaptureStreamUntilEnded();
video.src = "test.mp4";
video.playbackRate = 2;
await new Promise(r => video.onloadedmetadata = r);
video.currentTime = video.duration - 1;
await video.play();
await new Promise(r => video.onended = r);
document.documentElement.removeAttribute("class");
})();
</script>
</head>
</html>
|