blob: 7442efbb44071a25fb23db1fb18eb70c7411340a [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('webkitdeviceproximity', function() { } );
window.location = "resources/event-after-navigation-new.html";
}
window.jsTestIsAsync = true;
</script>
<script src="../resources/js-test-post.js"></script>
</body>
</html>