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

Unified Diff: LayoutTests/fast/dom/Geolocation/script-tests/no-page-cache.js

Issue 14495004: Remove left-over PageCache stuff (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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: LayoutTests/fast/dom/Geolocation/script-tests/no-page-cache.js
diff --git a/LayoutTests/fast/dom/Geolocation/script-tests/no-page-cache.js b/LayoutTests/fast/dom/Geolocation/script-tests/no-page-cache.js
deleted file mode 100644
index 204bdea46577173fa652c513acd8565735812a83..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/Geolocation/script-tests/no-page-cache.js
+++ /dev/null
@@ -1,23 +0,0 @@
-description("Tests that pages that use Geolocation are not put in the page cache.<br><br>Currently, Geolocation does not work with the page cache so pages that use Geolocation are explicitly prevented from entering the cache. This test checks for accidental enabling of the page Cache for Geolocation. See https://bugs.webkit.org/show_bug.cgi?id=43956 for details.");
-
-if (window.testRunner) {
- testRunner.waitUntilDone();
- testRunner.setCanOpenWindows();
- testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
-} else
- debug('This test can not be run without the testRunner');
-
-var pageOneOnloadCount = 0;
-function reportPageOneOnload() {
- ++pageOneOnloadCount;
- debug('resources/cached-page-1.html fired, count = ' + pageOneOnloadCount);
- if (pageOneOnloadCount == 2) {
- finishJSTest();
- }
- return pageOneOnloadCount;
-}
-
-debug("Main page opening resources/cached-page-1.html");
-window.open("resources/cached-page-1.html");
-
-window.jsTestIsAsync = true;
« no previous file with comments | « LayoutTests/fast/dom/Geolocation/no-page-cache-expected.txt ('k') | LayoutTests/fast/events/onunload-back-to-page-cache.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698