3 <pre id=
"console"></pre>
5 function log(message
) {
6 document
.getElementById('console').appendChild(document
.createTextNode(message
+ '\n'));
10 testRunner
.dumpAsText();
12 var xhr
= new XMLHttpRequest();
13 xhr
.open('GET', 'http://localhost:8000/xmlhttprequest/resources/access-control-basic-allow-access-control-origin-header.cgi', false);
15 log(xhr
.responseText
);