blob: 8d39e9b7b71305ade52d37c1d5a4b60e469f4074 [file] [log] [blame]
<script>
var request = new XMLHttpRequest();
request.onreadystatechange = function () {
if (this.readyState === 4){
alert("Verifying credentials are used after navigating within the same domain: " + this.responseText);
// Open the rest of the test in a different domain and verify that the credentials are not used.
window.open('http://localhost:8000/security/resources/credentials-from-different-domains-continued-2.html');
}
};
request.open('GET', 'http://127.0.0.1:8000/security/resources/cors-basic-auth.py', true);
request.send();
</script>