3 <meta http-equiv=
"content-type" content=
"text/html; charset=iso-8859-1">
4 <title>Charsets and submitting forms
</title>
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=
"é"><br>
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
;
28 <!-- no crash
== success
-->
29 document
.write("<p>SUCCESS</p>");
31 if (window
.testRunner
)
32 testRunner
.notifyDone();
37 document
.write("<p>This test doesn't work directly from bugzilla, please save it to a local file first.</p>");