diff options
Diffstat (limited to 'chrome/test/data/session_history/post.html')
-rw-r--r-- | chrome/test/data/session_history/post.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/chrome/test/data/session_history/post.html b/chrome/test/data/session_history/post.html new file mode 100644 index 0000000..ab89b76 --- /dev/null +++ b/chrome/test/data/session_history/post.html @@ -0,0 +1,28 @@ +<html> +<head> +<title>post</title> +<script> +// stolen from darin's page cycler +var options = location.search.substring(1).split('&'); + +function getopt(name) { + var r = new RegExp("^" + name + "="); + for (i = 0; i < options.length; ++i) { + if (options[i].match(r)) { + return options[i].substring(name.length + 1); + } + } + return null; +} + +function checkParams() { + document.title = "post:" + getopt("text") + "," + getopt("select"); +} +checkParams(); +</script> +</head> + +<body> +Form submission accepted. Thanks for playing. +</body> +</html> |