1 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.');
4 testRunner.overridePreference('WebKitUsesPageCachePreferenceKey', 1);
6 debug('This test can not be run without the LayoutTestController');
8 document.body.onload = function() {
9 window.addEventListener('deviceorientation', function() { } );
10 window.location = "resources/event-after-navigation-new.html";
13 window.jsTestIsAsync = true;