3 This page will attempt to load an image requiring basic auth from the
4 domain www.b.com using the same port that it loaded (since we assume www.b.com
5 is an alias for this same server).
8 var img = document.createElement("img");
9 img.src = "http://www.b.com:" + location.port + "/auth-basic/foo.jpg";
10 document.body.appendChild(img);