blob: d6fd6d5875fcf8e255d80c743a93a243fa1abd0a [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('GET', 'http://localhost:8000/xmlhttprequest/resources/access-control-basic-allow-access-control-origin-header.cgi', false);
xhr.send(null);
log(xhr.responseText);
</script>
</body>
</html>