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

Unified Diff: LayoutTests/fast/dom/DeviceOrientation/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/DeviceOrientation/script-tests/no-page-cache.js
diff --git a/LayoutTests/fast/dom/DeviceOrientation/script-tests/no-page-cache.js b/LayoutTests/fast/dom/DeviceOrientation/script-tests/no-page-cache.js
deleted file mode 100644
index 1fdbb0f74ba275a1bd12bf1bb88f00f4ee889638..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/DeviceOrientation/script-tests/no-page-cache.js
+++ /dev/null
@@ -1,23 +0,0 @@
-description('Tests that pages that use DeviceOrientation are not put in the page cache.');
-
-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 onload 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;

Powered by Google App Engine
This is Rietveld 408576698