Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Geolocation / resources / cached-page-1.html
blobf7ec397b30be2ef54524735b466cd7c107e399ef
1 <script>
2 function loadNext() {
3 var geolocation = navigator.geolocation;
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);
10 </script>
11 <body onload="loadNext()"></body>