1 <p
>Test that
null values in XHR login
/password parameters are treated correctly
.</p
>
2 <p
>No auth tokens should be sent with this request
.</p
>
3 <pre id
='syncResult'> </pre
>
6 testRunner
.dumpAsText();
8 req
= new XMLHttpRequest
;
9 req
.open('POST', '<?php echo 'http
://foo:bar@' . $_SERVER['HTTP_HOST'] . '/xmlhttprequest/resources/echo-auth.php' ?>', false, null, null);
11 document
.getElementById('syncResult').firstChild
.nodeValue
= req
.responseText
;