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

Unified Diff: LayoutTests/fast/harness/use-page-cache.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/harness/use-page-cache.html
diff --git a/LayoutTests/fast/harness/use-page-cache.html b/LayoutTests/fast/harness/use-page-cache.html
deleted file mode 100644
index 2564b60e0b4196f40d83fa79b6ee926bfd895e56..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/harness/use-page-cache.html
+++ /dev/null
@@ -1,46 +0,0 @@
-<html>
-<script>
-window.finish = function()
-{
- if (testRunner)
- testRunner.notifyDone();
-}
-
-window.log = function(message) {
- document.getElementById("result").innerHTML += message + "<br>";
-}
-
-window.failure = function(message) {
- log("FAIL: " + message);
- finish();
-}
-
-var onloadReportCount = 0;
-window.reportOnload = function() {
- if (++onloadReportCount > 1)
- failure("Multiple onload calls on page-1.");
-}
-
-function test()
-{
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- testRunner.setCanOpenWindows();
- testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
- }
- log("open page-1");
- window.open("resources/cached-page-1.html");
-}
-</script>
-
-<body onload="test()">
-<p>This test uses testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1); to enable
-back-forward WebKit page cache for the duration of the test.
-The test enables cache, navigates to page-1, then to page-2 and then does history.back() to page-1.
-On navigation back to page-1, test verifies that previously-initialized timer continues to fire and
-onload is not called again.
-If test fails it hangs or outputs 'FAIL' below.
-<div id="result"></div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698