2 header("Content-Type: text/html; charset=UTF-8");
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";
15 r
.innerHTML
= "FAILURE: keygen was not parsed correctly. value=" +
18 if (window
.testRunner
)
19 testRunner
.notifyDone();
24 <body onload
="runTest()">
26 This is a regression test
for keygen tag POST processing
: https
://bugs.webkit.org/show_bug.cgi?id=70617.
28 <div style
='display: none;' id
='output'><?php
29 if (array_key_exists('spkac', $_REQUEST)) {
32 echo "spkac does not exist";
36 <div id
="result"></div
>