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

Unified Diff: LayoutTests/fast/viewport/viewport-128.html

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/viewport/viewport-128.html
diff --git a/LayoutTests/fast/viewport/viewport-128.html b/LayoutTests/fast/viewport/viewport-128.html
deleted file mode 100644
index 0ad6c61b88f8492f401421f24621ff7fdf55f81c..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/viewport/viewport-128.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<html>
- <head>
- <title>Viewport meta data stored in page cache.</title>
- <meta name="viewport" content="width=100, initial-scale=2">
-
- <script>
- // The objective is to test if the viewport meta tag information is stored in page cache
-
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
- }
-
- function pageshow(evt)
- {
- if (!evt.persisted) {
- // this will run only when the page is loaded for the first time.
- setTimeout('window.location = "data:text/html,<script>history.back()<" + "/script>"', 0);
-
- } else {
- // if this point is reached the page is comming from the page cache.
- alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
- setTimeout(function() { if (window.testRunner) testRunner.notifyDone(); }, 0);
-
- }
- }
-
- window.onpageshow = pageshow;
- </script>
- </head>
-</html>
-
« no previous file with comments | « LayoutTests/fast/media/media-query-list-04-expected.txt ('k') | LayoutTests/fast/viewport/viewport-128-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698