summaryrefslogtreecommitdiffstats
path: root/WebCore/manual-tests/redirectHistory
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2008-10-21 07:00:00 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2008-10-21 07:00:00 -0700
commit9364f22aed35e1a1e9d07c121510f80be3ab0502 (patch)
treed49911209b132da58d838efa852daf28d516df21 /WebCore/manual-tests/redirectHistory
parent87eb0cb35bad8784770ebc807e6c982432e47107 (diff)
downloadexternal_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.zip
external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.gz
external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.bz2
Initial Contribution
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>