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

Unified Diff: LayoutTests/fast/history/back-forward-reset-after-error-handling.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/history/back-forward-reset-after-error-handling.html
diff --git a/LayoutTests/fast/history/back-forward-reset-after-error-handling.html b/LayoutTests/fast/history/back-forward-reset-after-error-handling.html
deleted file mode 100644
index 43d663a9e6bead15baf0dd76edeaa631112cf1d2..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/history/back-forward-reset-after-error-handling.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<html>
- <script>
- // Pre-conditions
- // - Error page handling is supported on DRT.
-
- // Navigation steps:
- // 1- loads this page.
- // 2- loads a non-existent page (an error page is loaded).
- // 4- executes a back, forward and back navigations.
-
- // Expected results:
- // - forward-list should comprise the non-existent loaded page(2).
-
- var isOkToContinue = " "+
- "{ "+
- " var console = document.getElementById('console'); "+
- " if (console != null) "+
- " console.innerHTML = 'SUCCESS'; "+
- " else "+
- " console.innerHTML = 'FAIL'; "+
- "}";
-
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
- testRunner.handleErrorPages();
- testRunner.dumpBackForwardList();
- }
-
- function onPageShow(evt)
- {
- if (!evt.persisted) {
- // this is the first time the page has been loaded, then setup the
- // to-be-tested scenario.
- testRunner.queueLoad("./non-existent.html");
- testRunner.queueBackNavigation(1);
- testRunner.queueForwardNavigation(1);
- testRunner.queueBackNavigation(1);
- testRunner.queueNonLoadingScript("eval(\"" + isOkToContinue + "\")");
- }
- }
-
- window.onpageshow = onPageShow;
- </script>
- <body>
- <h1 id='console'/>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698