blob: 58ae61f5ff3ce423999112f1bdccd7fae9027836 [file] [log] [blame]
<html>
<body>
<pre id="console"></pre>
<script>
function log(message) {
document.getElementById('console').appendChild(document.createTextNode(message + '\n'));
}
if (window.testRunner)
testRunner.dumpAsText();
var xhr = new XMLHttpRequest();
xhr.open('POST', 'http://localhost:8000/xmlhttprequest/resources/access-control-basic-allow-access-control-origin-header.cgi', false);
xhr.send(null);
log(xhr.responseText);
</script>
</body>
</html>