blob: 453fafcb24ef479dfc017553ab40d7538b93cb77 [file] [log] [blame]
<!-- webkit-test-runner [ UsesBackForwardCache=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>