Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(516)

Side by Side Diff: LayoutTests/http/tests/misc/char-encoding-in-hidden-charset-field-default.html

Issue 655083002: Update the tests (ISO-8859-1 => windows-1252) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: two more rep. of iso-8859-1 with windows-1252 Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698