blob: b4ad88aa6ba0338be1f40b98b8df60b442860763 [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.php", false, "foo", "bar");
xhr.send("");
}
function sendWithoutCredentials()
{
var xhr = new XMLHttpRequest;
xhr.open("GET", "resources/remember-bad-password//count-failures.php", false);
xhr.send("");
}
function reset()
{
var xhr = new XMLHttpRequest;
xhr.open("GET", "resources/remember-bad-password/count-failures.php?command=reset", false);
xhr.send("");
}
sendWithCredentials();
sendWithoutCredentials();
reset();
</script>
<p>PASS did not cause assertion failure.</p>
</body>
</html>