Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / misc / form-post-textplain.html
bloba2ad8e9fa32544aa09f41ef9db721e62a9e913f7
1 <html>
2 <head>
3 <title>Regression test for bug 20795 and 100445</title>
4 </head>
5 <body>
6 <p>
7 This is a test for https://bugs.webkit.org/show_bug.cgi?id=20795 and
8 https://bugs.webkit.org/show_bug.cgi?id=100445, it makes sure that
9 forms POSTed with a content-type of text/plain actually send data in text/plain
10 </p>
12 <form enctype="text/plain" method="post" action="resources/form-post-textplain.php" name="f">
13 <input type="hidden" name="f1" value="This is field #1 &!@$%&#10;='<>">
14 <input type="hidden" name="f2" value='This is field #2 ""'>
15 <input type="submit" value="press me">
16 </form>
17 <script>
18 if (window.testRunner) {
19 testRunner.dumpAsText();
20 testRunner.waitUntilDone();
23 document.f.submit();
24 </script>
25 </body>
26 </html>