Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / misc / resources / check-keygen-post.php
blobe185a9687e85406270cadb27a75ea384c80089ae
1 <?php
2 header("Content-Type: text/html; charset=UTF-8");
3 ?>
4 <html>
5 <head>
6 <script>
8 function runTest()
10 var r = document.getElementById('result');
11 var o = document.getElementById('output').firstChild;
12 if (o.nodeValue == 'spkac exists')
13 r.innerHTML = "SUCCESS: keygen was parsed correctly";
14 else
15 r.innerHTML = "FAILURE: keygen was not parsed correctly. value=" +
16 o.nodeValue;
18 if (window.testRunner)
19 testRunner.notifyDone();
22 </script>
23 </head>
24 <body onload="runTest()">
25 <p>
26 This is a regression test for keygen tag POST processing: https://bugs.webkit.org/show_bug.cgi?id=70617.
27 </p>
28 <div style='display: none;' id='output'><?php
29 if (array_key_exists('spkac', $_REQUEST)) {
30 echo "spkac exists";
31 } else {
32 echo "spkac does not exist";
35 </div>
36 <div id="result"></div>
37 </body>
38 </html>