Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / misc / char-encoding-in-hidden-charset-field-with-get-method.html
blob8d9e201423a6177180af6ebb83c455854900ed0f
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_=UTF-8</p>
11 <form id="testForm" action="resources/char-encoding-in-hidden-charset-field.php" accept-charset="UTF-8">
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>