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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/dom/Geolocation/resources/cached-page-1.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/resources/cached-page-1.html b/third_party/WebKit/LayoutTests/fast/dom/Geolocation/resources/cached-page-1.html
deleted file mode 100644
index f7ec397b30be2ef54524735b466cd7c107e399ef..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/resources/cached-page-1.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<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>

Powered by Google App Engine
This is Rietveld 408576698