Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / form-data-encoding.html
blob68b31f761e46d4855f38860cddc52a925b154228
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 <form action="?" name=f>
8 <input type=hidden name=q value="&#1105;&#66560;&#119083;çc"><br>
9 </form>
10 <script>
11 if (window.testRunner) {
12 testRunner.dumpAsText();
13 testRunner.waitUntilDone();
16 if (document.URL.substring(0, 4) == "file") {
18 if (document.URL.indexOf('?') == -1) {
19 document.f.q.value += "\u0327"; // cedilla for 'c'
20 document.f.submit();
22 } else {
23 if (unescape(document.URL.substring(document.URL.indexOf('?')+1, document.URL.length)) == unescape("q=%26%231105%3B%26%2366560%3B%26%23119083%3B%E7c%26%23807%3B"))
24 document.write("<p>Success</p>");
25 else
26 document.write("<p>Failure, query is " + document.URL.substring(document.URL.indexOf('?')+1, document.URL.length) + "</p>");
28 if (window.testRunner)
29 testRunner.notifyDone();
32 } else {
34 document.write("<p>This test doesn't work directly from bugzilla, please save it to a local file first.</p>");
36 </script>
37 </body>
38 </html>