| OLD | NEW |
| (Empty) |
| 1 <?php | |
| 2 header("Content-Type: text/html; charset=UTF-8"); | |
| 3 ?> | |
| 4 <html> | |
| 5 <head> | |
| 6 <script> | |
| 7 | |
| 8 function runTest() | |
| 9 { | |
| 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; | |
| 17 | |
| 18 if (window.testRunner) | |
| 19 testRunner.notifyDone(); | |
| 20 } | |
| 21 | |
| 22 </script> | |
| 23 </head> | |
| 24 <body onload="runTest()"> | |
| 25 <p> | |
| 26 This is a regression test for keygen tag POST processing: https://bugs.webkit.or
g/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"; | |
| 33 } | |
| 34 ?> | |
| 35 </div> | |
| 36 <div id="result"></div> | |
| 37 </body> | |
| 38 </html> | |
| OLD | NEW |