tizen beta release
[framework/web/webkit-efl.git] / LayoutTests / http / tests / misc / form-post-textplain.html
1 <html>
2 <head>
3 <title>Regression test for bug 20795</title>
4 </head>
5 <body>
6 <p>
7 This is a test for https://bugs.webkit.org/show_bug.cgi?id=20795, it makes sure that
8 forms POSTed with a content-type of text/plain actually send data in text/plain
9 </p>
10
11 <form enctype="text/plain" method="post" action="resources/form-post-textplain.php" name="f">
12     <input type="hidden" name="f1" value="This is field #1 &!@$%\n='<>">
13     <input type="hidden" name="f2" value='This is field #2 ""'>
14     <input type="submit" value="press me">
15 </form>
16 <script>
17 if (window.layoutTestController) {
18     layoutTestController.dumpAsText();
19     layoutTestController.waitUntilDone();
20 }
21
22 document.f.submit();
23 </script>
24 </body>
25 </html>