blob: 9f9774af4ff66a6024a2bd4fe3546399cfa1a168 [file] [log] [blame]
<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.');
if (window.testRunner)
testRunner.overridePreference('WebKitUsesPageCachePreferenceKey', 1);
else
debug('This test can not be run without the TestRunner');
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>