Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / misc / char-encoding-in-hidden-charset-field-default.html
blobcb0f4d2b46ae637d0c2564a399031bcfc432d942
1 <html>
2 <head>
3 <title>Test for bug 19079</title>
4 </head>
5 <body>
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.
8 </p>
9 <p>
10 This should submit _charset_=windows-1252. Note that this _charset_ input has a value before it submits, which is overwritten. </p>
12 <form name="testForm" action="resources/char-encoding-in-hidden-charset-field.php" method="post">
13 <input type=hidden name="_charset_" value="This value should change">
14 <input type=submit>
15 </form>
17 <script>
18 if (window.testRunner) {
19 testRunner.dumpAsText();
20 testRunner.waitUntilDone();
23 document.testForm.submit();
24 </script>
26 </body>
27 </html>