Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/Geolocation/resources/cached-page-1.html

Issue 1948033003: Convert most geolocation layout tests to use a JS mock implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission-disconnect
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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 r esources/cached-page-2.html')
6 // Location changes need to happen outside the onload handler to generat e history entries.
7 setTimeout(function() {location.href = 'cached-page-2.html';}, 0);
8 }
9 }
10 </script>
11 <body onload="loadNext()"></body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698