cached-page-1.html revision a94275402997c11dd2e778633dacf4b7e630a35d
1<script>
2function loadNext() {
3    window.addEventListener('devicemotion', function() {});
4    if (window.opener.reportPageOneOnload() == 1) {
5        window.opener.debug('resources/cached-page-1.html about to navigate to resources/cached-page-2.html')
6        // Location changes need to happen outside the onload handler to generate history entries.
7        setTimeout(function() { location.href = 'cached-page-2.html'; }, 0);
8    }
9}
10</script>
11<body onload="loadNext()"></body>
12