blob: c58fe37d38ba49b99e954b3ef67060c83652696e [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script>
if (window.testRunner)
testRunner.dumpAsText()
function sendWithCredentials()
{
var xhr = new XMLHttpRequest;
xhr.open("GET", "resources/remember-bad-password/count-failures.py", false, "foo", "bar");
xhr.send("");
}
function sendWithoutCredentials()
{
var xhr = new XMLHttpRequest;
xhr.open("GET", "resources/remember-bad-password//count-failures.py", false);
xhr.send("");
}
function reset()
{
var xhr = new XMLHttpRequest;
xhr.open("GET", "resources/remember-bad-password/count-failures.py?command=reset", false);
xhr.send("");
}
sendWithCredentials();
sendWithoutCredentials();
reset();
</script>
<p>PASS did not cause assertion failure.</p>
</body>
</html>