blob: 57131c70d95e74fa5d03285b6387db583894317d [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>media-source-delaying-load-event</title>
<script src="../video-test.js"></script>
<script>
var source;
</script>
</head>
<body>
<div>A media element backed by a Media Source should not delay the window's load event</div>
<video></video>
<script>
findMediaElement();
source = new MediaSource();
testExpected('source.readyState', 'closed');
run('video.src = URL.createObjectURL(source)');
waitForEventOn(window, 'load', endTest);
</script>
</body>
</html>