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

Unified Diff: LayoutTests/fast/loader/frames-with-unload-handlers-in-page-cache.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/loader/frames-with-unload-handlers-in-page-cache.html
diff --git a/LayoutTests/fast/loader/frames-with-unload-handlers-in-page-cache.html b/LayoutTests/fast/loader/frames-with-unload-handlers-in-page-cache.html
deleted file mode 100644
index 82977338287f89469e15233cc6f517b1e220046b..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/loader/frames-with-unload-handlers-in-page-cache.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<html>
-<head>
-<script>
-
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
-}
-
-window.onload = function() {
- window.location.href = "resources/notify-done.html";
-}
-
-window.onpagehide = function(evt) {
- alert("Main frame window.onpagehide called");
-}
-
-</script>
-</head>
-<body>
-Tests if a page with a subframe that has an unload handler is allowed to go in the page cache. (It should not be.)<br>
-If the subframe's unload handler is called when navigating away from this page, it did *NOT* go in the page cache and all is well.<br>
-However, if *only* its pageshow handler is called, then it *did* go in
-<iframe src="resources/subframe-with-subsubframe-with-unload-handler.html"></iframe>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698