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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/preserve-user-specified-zoom-level-on-reload.html

Issue 2612543002: Remove fundamentally-broken layouttest for zoom on reload (Closed)
Patch Set: Created 3 years, 12 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/platform/linux/fast/css/preserve-user-specified-zoom-level-on-reload-expected.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/css/preserve-user-specified-zoom-level-on-reload.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/preserve-user-specified-zoom-level-on-reload.html b/third_party/WebKit/LayoutTests/fast/css/preserve-user-specified-zoom-level-on-reload.html
deleted file mode 100644
index 6de6edc3d232af906ffd30ffdfa986da8b78cac8..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/css/preserve-user-specified-zoom-level-on-reload.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<html>
-<head>
-<script>
-function runTest()
-{
- if (!window.testRunner)
- return;
-
- if (!window.eventSender)
- return;
-
- if (!window.sessionStorage)
- return;
-
- testRunner.waitUntilDone();
- if (sessionStorage.testCompleted) {
- delete sessionStorage.testCompleted;
- testRunner.notifyDone();
- } else {
- // Note, it is sufficient to zoom-in only once, but so as to make it easier
- // for a human to compare the pixel test results we zoom-in up to Safari's
- // maximum zoom level, which at the time of writing (09/17/2010) is 6.
- const MaxZoomIn = 6;
-
- for (var i = 0; i < MaxZoomIn; ++i)
- eventSender.zoomPageIn();
- sessionStorage.testCompleted = true;
- document.location.reload(true);
- }
-}
-
-window.onload = runTest;
-</script>
-</head>
-<body>
-<p>This test ensures that we preserve the user-specified zoom level of the page on reload.</p>
-</body>
-</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/platform/linux/fast/css/preserve-user-specified-zoom-level-on-reload-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698