Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / misc / char-encoding-in-hidden-charset-field-with-EUC-JP.html
blob6b4279b2232cdf0e86bdde16d20fb4acf35119ff
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>This should submit one _charset_=EUC-JP</p>
11 <form id="testForm" action="resources/char-encoding-in-hidden-charset-field.php" method="post" accept-charset="EUC-JP">
12 <input type=hidden name="_charset_">
13 <input type=submit>
14 </form>
16 <script>
17 if (window.testRunner) {
18 testRunner.dumpAsText();
19 testRunner.waitUntilDone();
22 var form = document.getElementById("testForm");
23 form.submit();
24 </script>
26 </body>
27 </html>