diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
commit | 1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 (patch) | |
tree | 4457a7306ea5acb43fe05bfe0973b1f7faf97ba2 /WebCore/manual-tests/resources | |
parent | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (diff) | |
download | external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.zip external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.gz external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.bz2 |
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'WebCore/manual-tests/resources')
7 files changed, 51 insertions, 0 deletions
diff --git a/WebCore/manual-tests/resources/DrawMessage.class b/WebCore/manual-tests/resources/DrawMessage.class Binary files differnew file mode 100644 index 0000000..6de7afc --- /dev/null +++ b/WebCore/manual-tests/resources/DrawMessage.class diff --git a/WebCore/manual-tests/resources/big-page.html b/WebCore/manual-tests/resources/big-page.html new file mode 100644 index 0000000..987ea75 --- /dev/null +++ b/WebCore/manual-tests/resources/big-page.html @@ -0,0 +1,2 @@ +<p>This page is large enough to need to be scrolled in a 200x200 frame.</p> +<div style="width: 400px; height: 400px; background-color: blue"></div> diff --git a/WebCore/manual-tests/resources/hash-ref-test.html b/WebCore/manual-tests/resources/hash-ref-test.html new file mode 100644 index 0000000..ed45778 --- /dev/null +++ b/WebCore/manual-tests/resources/hash-ref-test.html @@ -0,0 +1,24 @@ +<html> +<head> +<title>Test Case for Bug 13067: Manually adding #hash to URL reloads entire page instead of jumping to #hash location in cached page</title> +<style> +body { + min-height: 10000px; + margin-top: 0px; + padding-top: 0px; +} +div { + min-height: 100px; + border: 1px solid black; +} +</style> +</head> +<body> +top +<div id="div1">div1</div> +<div id="div2">div2</div> +<div id="div3">div3</div> +<div id="div4">div4</div> +<div id="div5">div5</div> +</body> +</html> diff --git a/WebCore/manual-tests/resources/multiFileResources/post-echo-and-notify-done.cgi b/WebCore/manual-tests/resources/multiFileResources/post-echo-and-notify-done.cgi new file mode 100755 index 0000000..2c523dc --- /dev/null +++ b/WebCore/manual-tests/resources/multiFileResources/post-echo-and-notify-done.cgi @@ -0,0 +1,12 @@ +#!/usr/bin/perl -w + +print "Content-type: text/html\n\n"; + +if ($ENV{'REQUEST_METHOD'} eq "POST") { + read(STDIN, $request, $ENV{'CONTENT_LENGTH'}) + || die "Could not get query\n"; + print "<pre>$request</pre>"; + print "<script>if (window.layoutTestController) layoutTestController.notifyDone();</script>"; +} else { + print "Wrong method: " . $ENV{'REQUEST_METHOD'} . "\n"; +} diff --git a/WebCore/manual-tests/resources/multiFileResources/testFile1.html b/WebCore/manual-tests/resources/multiFileResources/testFile1.html new file mode 100644 index 0000000..4313554 --- /dev/null +++ b/WebCore/manual-tests/resources/multiFileResources/testFile1.html @@ -0,0 +1,4 @@ +<script> +parent.log('test file 1 submitted'); +parent.submittedFiles++; +</script>
\ No newline at end of file diff --git a/WebCore/manual-tests/resources/multiFileResources/testFile2.html b/WebCore/manual-tests/resources/multiFileResources/testFile2.html new file mode 100644 index 0000000..90167f7 --- /dev/null +++ b/WebCore/manual-tests/resources/multiFileResources/testFile2.html @@ -0,0 +1,4 @@ +<script> +parent.log('test file 2 submitted'); +parent.submittedFiles++; +</script>
\ No newline at end of file diff --git a/WebCore/manual-tests/resources/multiFileResources/testFile3.html b/WebCore/manual-tests/resources/multiFileResources/testFile3.html new file mode 100644 index 0000000..f89ddf3 --- /dev/null +++ b/WebCore/manual-tests/resources/multiFileResources/testFile3.html @@ -0,0 +1,5 @@ +<script> +parent.log('test file 3 submitted'); +parent.submittedFiles++; +parent.verifyResults(); +</script>
\ No newline at end of file |