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

Unified Diff: LayoutTests/fast/events/pageshow-pagehide-on-back-cached-with-frames.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/events/pageshow-pagehide-on-back-cached-with-frames.html
diff --git a/LayoutTests/fast/events/pageshow-pagehide-on-back-cached-with-frames.html b/LayoutTests/fast/events/pageshow-pagehide-on-back-cached-with-frames.html
deleted file mode 100644
index dc6ac5079a6aed4a3cc7049fcfe3c6c581848506..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/events/pageshow-pagehide-on-back-cached-with-frames.html
+++ /dev/null
@@ -1,46 +0,0 @@
-<html>
-<body>
-Test pageshow/pagehide event behavior when navigating away from a page with frames, putting the page in the page cache, then back to it.
-<pre id="log"></pre>
-<iframe src="resources/pageshow-pagehide-subframe-cachable.html"></iframe>
-</body>
-<script>
-
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
-}
-
-function log(message)
-{
- // Logging to the console instead of the "log" DIV in the DOM because
- // otherwise we trigger the assert mentioned at http://webkit.org/b/43152
- // (since we log during pagehide)
- console.log(message);
-}
-
-log("***Top level frame being parsed for the initial page load***");
-
-window.onload = function(evt) {
- log("Main frame window.onload");
-}
-
-window.onpageshow = function(evt) {
- log("Main frame window.onpageshow" + ", target = " + evt.target + ", persisted = " + evt.persisted);
- if (evt.persisted) {
- if (window.testRunner)
- testRunner.notifyDone();
- } else {
- log("***Navigating top-level frame to a page that will immediately navigate back to this one***");
- // Location changes need to happen outside the onload handler to generate history entries.
- setTimeout(function() {window.location.href = "data:text/html,<script>history.back();</scr" + "ipt>";}, 0);
- }
-}
-
-window.onpagehide = function(evt) {
- log("Main frame window.onpagehide" + ", target = " + evt.target + ", persisted = " + evt.persisted);
-}
-
-</script>
-</html>

Powered by Google App Engine
This is Rietveld 408576698