blob: 7239e35dff2056409db94eb5442949a77eda78cc [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>video-muted-holds-sleep-assertion</title>
<script src="video-test.js"></script>
<script src="media-file.js"></script>
<script>
var loader;
var source;
var sourceBuffer;
window.addEventListener('load', async event => {
findMediaElement();
run('video.src = findMediaFile("video", "content/test")');
await waitFor(video, 'canplaythrough');
run('video.play()');
await waitFor(video, 'playing');
testExpected('internals.elementIsBlockingDisplaySleep(video)', false);
endTest();
}, {once: true});
</script>
</head>
<body>
<video controls muted></video>
</body>
</html>