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> |