summaryrefslogtreecommitdiffstats
path: root/WebCore/manual-tests/redirectHistory
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:30:52 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:30:52 -0800
commit8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2 (patch)
tree11425ea0b299d6fb89c6d3618a22d97d5bf68d0f /WebCore/manual-tests/redirectHistory
parent648161bb0edfc3d43db63caed5cc5213bc6cb78f (diff)
downloadexternal_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.zip
external_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.tar.gz
external_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.tar.bz2
auto import from //depot/cupcake/@135843
Diffstat (limited to 'WebCore/manual-tests/redirectHistory')
-rw-r--r--WebCore/manual-tests/redirectHistory/redir-1.html10
-rw-r--r--WebCore/manual-tests/redirectHistory/redir-2.html9
-rw-r--r--WebCore/manual-tests/redirectHistory/redir-3.html11
3 files changed, 30 insertions, 0 deletions
diff --git a/WebCore/manual-tests/redirectHistory/redir-1.html b/WebCore/manual-tests/redirectHistory/redir-1.html
new file mode 100644
index 0000000..1cdab45
--- /dev/null
+++ b/WebCore/manual-tests/redirectHistory/redir-1.html
@@ -0,0 +1,10 @@
+<html>
+<head>
+<meta http-equiv="refresh" content="3;url=redir-2.html"/>
+<title>Redirect 1</title>
+</head>
+<body>
+<p>This test checks that a &quot;quick&quot; redirect does not create an extra entry in the back/forward list. See Radar 4351664.</p>
+<p>Wait a few seconds for the redirect to occur. If you return to this page after the redirect, then the test passed. If you end up at redir-2.html, then the test failed.</p>
+</body>
+</html>
diff --git a/WebCore/manual-tests/redirectHistory/redir-2.html b/WebCore/manual-tests/redirectHistory/redir-2.html
new file mode 100644
index 0000000..fe9e6ba
--- /dev/null
+++ b/WebCore/manual-tests/redirectHistory/redir-2.html
@@ -0,0 +1,9 @@
+<html>
+<head>
+<meta http-equiv="refresh" content="0;url=redir-3.html"/>
+<title>Redirect 2</title>
+</head>
+<body>
+<p>Test failed</p>
+</body>
+</html>
diff --git a/WebCore/manual-tests/redirectHistory/redir-3.html b/WebCore/manual-tests/redirectHistory/redir-3.html
new file mode 100644
index 0000000..a525851
--- /dev/null
+++ b/WebCore/manual-tests/redirectHistory/redir-3.html
@@ -0,0 +1,11 @@
+<html>
+<head>
+<title>Redirect 3</title>
+<script>
+window.setTimeout("window.history.back()", 1000);
+</script>
+</head>
+<body>
+<p>Going back...</p>
+</body>
+</html>