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