<!DOCTYPE html>
<body onload="reloadOnce()">
<div>This test passes if it doesn't crash.</div>
<video style="position: absolute" poster="../images/resources/green.jpg"><source></video>
<script>
document.body.offsetHeight;
if (window.testRunner)
testRunner.dumpAsText();
function reloadOnce() {
var searchParameter = "?done";
if (window.location.search == searchParameter) {
if (window.testRunner)
testRunner.notifyDone();
} else {
if (window.testRunner)
testRunner.waitUntilDone();
window.location = window.location + searchParameter;
}
}
</script>
</body>