summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/dom/Geolocation/resources/cached-page-1.html
blob: f7ec397b30be2ef54524735b466cd7c107e399ef (plain)
1
2
3
4
5
6
7
8
9
10
11
<script>
function loadNext() {
    var geolocation = navigator.geolocation;
    if (window.opener.reportPageOneOnload() == 1) {
        window.opener.debug('resources/cached-page-1.html about to navigate to resources/cached-page-2.html')
        // Location changes need to happen outside the onload handler to generate history entries.
        setTimeout(function() {location.href = 'cached-page-2.html';}, 0);
    }
}
</script>
<body onload="loadNext()"></body>