tizen beta release
[profile/ivi/webkit-efl.git] / LayoutTests / http / tests / misc / char-encoding-in-hidden-charset-field-with-Shift_JIS.html
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_=Shift_JIS</p>
10
11 <form id="testForm" action="resources/char-encoding-in-hidden-charset-field.php" method="post" accept-charset="Shift_JIS">
12 <input type=hidden name="_charset_">
13 <input type=submit>
14 </form>
15
16 <script>
17 if (window.layoutTestController) {
18     layoutTestController.dumpAsText();
19     layoutTestController.waitUntilDone();
20 }
21
22 var form = document.getElementById("testForm");
23 form.submit();
24 </script>
25
26 </body>
27 </html>