Logo Search packages:      
Sourcecode: chromium-browser version File versions  Download package

null-auth.php

<p>Test that null values in XHR login/password parameters are treated correctly.</p>
<p>No auth tokens should be sent with this request.</p>
<pre id='syncResult'> </pre>
<script>
if (window.layoutTestController)
  layoutTestController.dumpAsText();

req = new XMLHttpRequest;
req.open('POST', '<?php echo 'http://foo:bar@' . $_SERVER['HTTP_HOST'] . '/xmlhttprequest/resources/echo-auth.php' ?>', false, null, null);
req.send();
document.getElementById('syncResult').firstChild.nodeValue = req.responseText;
</script>

Generated by  Doxygen 1.6.0   Back to index