<script>
var request = new XMLHttpRequest();
request.onreadystatechange = function () {
    if (this.readyState === 4){
        alert("Verifying authentication fails from another domain: " + this.responseText);
        if (window.testRunner)
            testRunner.notifyDone();
    }
};
request.open('GET', 'http://127.0.0.1:8000/security/resources/cors-basic-auth.py', true);
request.send();
</script>
