OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <title>Test for bug 19079</title> | 3 <title>Test for bug 19079</title> |
4 </head> | 4 </head> |
5 <body> | 5 <body> |
6 <p>This is a test for https://bugs.webkit.org/show_bug.cgi?id=19079, it send the
submissions | 6 <p>This is a test for https://bugs.webkit.org/show_bug.cgi?id=19079, it send the
submissions |
7 character encoding in hidden _charset_ field. | 7 character encoding in hidden _charset_ field. |
8 </p> | 8 </p> |
9 <p> | 9 <p> |
10 This should submit _charset_=iso8559-1. Note that this _charset_ input has a va
lue before it submits, which is overwritten. IE6 submits windows1252, because al
l pages are evidently Unicode in IE6. The point is that it submits the charset
we're using, not what exactly it submits.</p> | 10 This should submit _charset_=windows-1252. Note that this _charset_ input has a
value before it submits, which is overwritten. </p> |
11 | 11 |
12 <form name="testForm" action="resources/char-encoding-in-hidden-charset-field.ph
p" method="post"> | 12 <form name="testForm" action="resources/char-encoding-in-hidden-charset-field.ph
p" method="post"> |
13 <input type=hidden name="_charset_" value="This value should change"> | 13 <input type=hidden name="_charset_" value="This value should change"> |
14 <input type=submit> | 14 <input type=submit> |
15 </form> | 15 </form> |
16 | 16 |
17 <script> | 17 <script> |
18 if (window.testRunner) { | 18 if (window.testRunner) { |
19 testRunner.dumpAsText(); | 19 testRunner.dumpAsText(); |
20 testRunner.waitUntilDone(); | 20 testRunner.waitUntilDone(); |
21 } | 21 } |
22 | 22 |
23 document.testForm.submit(); | 23 document.testForm.submit(); |
24 </script> | 24 </script> |
25 | 25 |
26 </body> | 26 </body> |
27 </html> | 27 </html> |
OLD | NEW |