<script> | |
if (window.testRunner) { | |
testRunner.dumpAsText(); | |
testRunner.waitUntilDone(); | |
testRunner.setRejectsProtectionSpaceAndContinueForAuthenticationChallenges(true); | |
} | |
var request = new XMLHttpRequest; | |
request.onreadystatechange = function () { | |
if (request.readyState === 4) { | |
alert("status: " + request.status); | |
if (window.testRunner); | |
testRunner.notifyDone(); | |
} | |
}; | |
request.open('GET', 'resources/basic-auth/basic-auth.py'); | |
request.send(null); | |
</script> |