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

Unified Diff: LayoutTests/fast/overflow/horizontal-scroll-after-back.html

Issue 14195011: Removed WONTFIX tests (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/overflow/horizontal-scroll-after-back.html
diff --git a/LayoutTests/fast/overflow/horizontal-scroll-after-back.html b/LayoutTests/fast/overflow/horizontal-scroll-after-back.html
deleted file mode 100644
index 8a6799b0f50b2315a211832c58e9c3707c999c64..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/overflow/horizontal-scroll-after-back.html
+++ /dev/null
@@ -1,62 +0,0 @@
-<html>
-<script>
-
-// Navigation steps
-// 1. loads this page and it has a horizontal scrollbar
-// 2. Navigates to a data URL and navigates back
-function verifyPage()
-{
- var result = (innerHeight === document.documentElement.offsetHeight)
- ? "FAIL: Scrollbar did not appear"
- : "PASS";
- document.body.innerHTML = result;
- if (window.testRunner)
- testRunner.notifyDone();
-}
-
-function navigateAwayAndBack()
-{
- // Simulate a link click to create a history entry
- var evt = document.createEvent("MouseEvents");
- evt.initMouseEvent("click", true, true, window,
- 0, 0, 0, 0, 0, false, false, false, false, 0, null);
- document.getElementById('anchor').dispatchEvent(evt);
-}
-
-function runTestStep()
-{
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
- }
- window.setTimeout("navigateAwayAndBack()", 200);
-}
-
-function onVerifyPage(evt)
-{
- // If pageshow is happening as result of navigation back then we proceed.
- if (evt.persisted)
- setTimeout("verifyPage()", 200);
-}
-
-window.onpageshow = onVerifyPage;
-</script>
-<head>
-<style type="text/css">
-<!--
-#content {
- background: #fff;
- position: absolute;
- top: 2px;
- left: 2px;
- width: 1500px;
- height: 1500px;
-}
--->
-</style>
-</head>
-<body onload='runTestStep()'>
-<div id="content"> <a id='anchor' href='data:text/html,<body onload="history.back()"></body>'>Where is the scrollbar?</a></div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698