blob: 36025188973e8bd28f8a76e19f8f208a1cde7e0e [file] [log] [blame]
<!-- webkit-test-runner [ enableBackForwardCache=true ] -->
<html>
<head>
<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
description('Tests for a crash where an event is fired after the page has been navigated away when the original page is in the page cache.');
document.body.onload = function() {
window.addEventListener('deviceorientation', function() { } );
window.location = "resources/event-after-navigation-new.html";
}
window.jsTestIsAsync = true;
</script>
<script src="../../../resources/js-test-post.js"></script>
</body>
</html>