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

Unified Diff: LayoutTests/fast/events/script-tests/onunload-back-to-page-cache.js

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/events/script-tests/onunload-back-to-page-cache.js
diff --git a/LayoutTests/fast/events/script-tests/onunload-back-to-page-cache.js b/LayoutTests/fast/events/script-tests/onunload-back-to-page-cache.js
deleted file mode 100644
index ea7528320e49d6187f4fa1fcc7f8564d9c1a92c1..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/events/script-tests/onunload-back-to-page-cache.js
+++ /dev/null
@@ -1,14 +0,0 @@
-description('Simulates flow from a page that\'s in the page cache to one that\'s not, and then back to the page cached page.');
-
-onpageshow = function(event) {
- if (window.name == 'navigated') {
- testPassed('WebTiming asserts in FrameLoader.cpp did not fire');
- finishJSTest();
- } else {
- if (window.testRunner)
- testRunner.overridePreference('WebKitUsesPageCachePreferenceKey', 1);
- setTimeout(function() {location.href = 'data:text/html,<script>onunload=function() {},onload=function(){window.name = \'navigated\';history.back();}<' + '/script>';}, 0);
- }
-}
-
-var jsTestIsAsync = true;

Powered by Google App Engine
This is Rietveld 408576698