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

Unified Diff: LayoutTests/http/tests/navigation/back-to-redirect-with-frame.php

Issue 139103003: Reland "Remove children from HistoryNodes that redirect during back/forward navigation" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Make trybots happy Created 6 years, 11 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/navigation/back-to-redirect-with-frame-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/navigation/back-to-redirect-with-frame.php
diff --git a/LayoutTests/http/tests/navigation/back-to-redirect-with-frame.php b/LayoutTests/http/tests/navigation/back-to-redirect-with-frame.php
new file mode 100644
index 0000000000000000000000000000000000000000..257a6d3c811a1fb092eb13a428591411f2539538
--- /dev/null
+++ b/LayoutTests/http/tests/navigation/back-to-redirect-with-frame.php
@@ -0,0 +1,23 @@
+<?php
+if (isset($_COOKIE['back-to-redirect-with-frame'])) {
+ header('Location: resources/pass-and-notify-done.html');
+ exit;
+}
+
+header("Cache-Control: no-store");
+header("Set-Cookie: back-to-redirect-with-frame = true;");
+?>
+<body>
+<script>
+if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.dumpBackForwardList();
+ testRunner.waitUntilDone();
+}
+
+window.onload = setTimeout(function() {
+ window.location = "resources/go-back.html"
+}, 10);
+</script>
+<iframe src="about:blank"></iframe>
+</body>
« no previous file with comments | « no previous file | LayoutTests/http/tests/navigation/back-to-redirect-with-frame-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698