Reviewed by Anders.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 May 2006 17:28:31 +0000 (17:28 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 May 2006 17:28:31 +0000 (17:28 +0000)
        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=6621
          Blank page in Safari; http://www.capitalone.co.uk/web/MenuUrl?z=null&c=null% (Works in Firefox & IE)

        The problem itself was fixed by Anders in bug 8808 (WebCore should handle text files).

        * http/tests/misc/resources: Added.
        * http/tests/misc/resources/200.html: Added.
        * http/tests/misc/resources/text-refresh.pl: Added.
        * http/tests/misc/text-refresh-expected.txt: Added.
        * http/tests/misc/text-refresh.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14285 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/http/tests/misc/resources/200.html [new file with mode: 0644]
LayoutTests/http/tests/misc/resources/text-refresh.pl [new file with mode: 0755]
LayoutTests/http/tests/misc/text-refresh-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/misc/text-refresh.html [new file with mode: 0644]

index c5f6b359468750bcb79277ba825d9894c257186b..0feeb9960db8a3ebd52cf6136cf2ec395a5ebc82 100644 (file)
@@ -1,3 +1,18 @@
+2006-05-10  Alexey Proskuryakov  <ap@nypop.com>
+
+        Reviewed by Anders.
+
+        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=6621
+          Blank page in Safari; http://www.capitalone.co.uk/web/MenuUrl?z=null&c=null% (Works in Firefox & IE)
+
+        The problem itself was fixed by Anders in bug 8808 (WebCore should handle text files).
+
+        * http/tests/misc/resources: Added.
+        * http/tests/misc/resources/200.html: Added.
+        * http/tests/misc/resources/text-refresh.pl: Added.
+        * http/tests/misc/text-refresh-expected.txt: Added.
+        * http/tests/misc/text-refresh.html: Added.
+
 2006-05-09  Darin Adler  <darin@apple.com>
 
         - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=8781
diff --git a/LayoutTests/http/tests/misc/resources/200.html b/LayoutTests/http/tests/misc/resources/200.html
new file mode 100644 (file)
index 0000000..6f03963
--- /dev/null
@@ -0,0 +1,9 @@
+<head>
+<script>
+if (window.layoutTestController)
+    layoutTestController.notifyDone();
+</script>
+</head>
+<body>
+SUCCESS
+</body>
diff --git a/LayoutTests/http/tests/misc/resources/text-refresh.pl b/LayoutTests/http/tests/misc/resources/text-refresh.pl
new file mode 100755 (executable)
index 0000000..b4a04e3
--- /dev/null
@@ -0,0 +1,8 @@
+#!/usr/bin/perl
+# Simple script to generate a redirect to a success document.
+
+print "Content-type: text/plain\r\n";
+print "Refresh: 0; URL=200.html\r\n";
+print "\r\n";
+
+print "FAILURE\r\n";
diff --git a/LayoutTests/http/tests/misc/text-refresh-expected.txt b/LayoutTests/http/tests/misc/text-refresh-expected.txt
new file mode 100644 (file)
index 0000000..ff43ca4
--- /dev/null
@@ -0,0 +1 @@
+SUCCESS
diff --git a/LayoutTests/http/tests/misc/text-refresh.html b/LayoutTests/http/tests/misc/text-refresh.html
new file mode 100644 (file)
index 0000000..eeb7937
--- /dev/null
@@ -0,0 +1,13 @@
+<head>
+<script>
+if (window.layoutTestController) {
+    layoutTestController.waitUntilDone();
+    layoutTestController.dumpAsText();
+}
+</script>
+<meta http-equiv="refresh" content="0; URL=resources/text-refresh.pl">
+</head>
+<body>
+FAILURE (couldn't even start to test)
+<!-- http://bugzilla.opendarwin.org/show_bug.cgi?id=6621 -->
+</body>