blob: 01d19051aa6c7ab4225b02b46ea5c1cf649e26ce [file] [log] [blame]
<script>
var request = new XMLHttpRequest();
request.onreadystatechange = function () {
if (this.readyState === 4)
window.parent.postMessage(" iframe host: " + window.location.hostname + " credentials:" + this.responseText, "*");
};
request.open('GET', 'http://127.0.0.1:8000/security/resources/cors-basic-auth.php', true, "same-domain-user", "same-domain-password");
request.send();
</script>