Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / form-data-encoding-normalization-overrun.html
blob0bd974d1ca636291c08b8071f21b6c4e16d25a0d
1 <html>
2 <head>
3 <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
4 <title>Charsets and submitting forms</title>
5 </head>
6 <body>
7 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=10681">bug 10681</a>:
8 REGRESSION: Reproducible crash at Wikipedia</p>
10 <form method="post" action="?" name=f>
11 <input type=hidden name=q value="&#x65;&#x301;"><br>
12 </form>
13 <script>
14 if (window.testRunner) {
15 testRunner.dumpAsText();
16 testRunner.waitUntilDone();
19 if (document.URL.substring(0, 4) == "file") {
21 if (document.URL.indexOf('?') == -1) {
22 for (i=0; i < 15; ++i) {
23 document.f.q.value += document.f.q.value;
25 document.f.submit();
27 } else {
28 <!-- no crash == success -->
29 document.write("<p>SUCCESS</p>");
31 if (window.testRunner)
32 testRunner.notifyDone();
35 } else {
37 document.write("<p>This test doesn't work directly from bugzilla, please save it to a local file first.</p>");
39 </script>
40 </body>
41 </html>