blob: 28900083eed1921df005e5380932880b706662c1 [file] [log] [blame]
<script>
// This test requires ASAN to detect a regression.
function runTest() {
document.querySelector('iframe').contentWindow.addEventListener('unload', function() {
document.querySelector('input').focus();
}, true);
if (window.testRunner)
testRunner.dumpAsText();
document.writeln('');
if (window.GCController)
GCController.collect();
else if (window.gc)
gc();
document.writeln('PASS if not crashed.');
}
</script>
<body onload="runTest()">
<input type="time">
<iframe></iframe>
</body>