blob: 8169e534dded6c4f806f3f6074ede7d4fd7c4977 [file] [log] [blame]
<!DOCTYPE html>
<html>
<script>
function runTest() {
if (window.testRunner)
testRunner.dumpAsText();
x.src = "data:video/mp4;base64,AA";
y.focus();
window.onfocus = z.oncontextmenu;
}
function eventHandler() {
x1.innerHTML = "";
}
</script>
<body onload=runTest()>
<p>The test passes if no crash.</p>
<time id="x1">
<label id="z" oncontextmenu="eventHandler()" ></label>
<iframe id="y"></iframe>
<embed id="x"></embed>
</body>
</html>