blob: 96b93fcea068a4d8b4e59e640f1e76b74a702173 [file] [log] [blame]
<html>
<body>
This page will attempt to load an image requiring basic auth from the
domain www.b.com using the same port that it loaded (since we assume www.b.com
is an alias for this same server).
<script>
var img = document.createElement("img");
img.src = "http://www.b.com:" + location.port + "/auth-basic/foo.jpg";
document.body.appendChild(img);
</script>
</body>
</html>