| <html> |
| <body> |
| <p>Tests for XMLHttpRequest authentication with only username or password set |
| <script> |
| if (window.testRunner) { |
| if (window.testRunner.setHandlesAuthenticationChallenges && window.testRunner.setAuthenticationUsername) { |
| testRunner.setHandlesAuthenticationChallenges(true); |
| testRunner.setAuthenticationUsername("user"); |
| } |
| testRunner.dumpAsText(); |
| testRunner.queueLoad("http://user:@localhost:8000/xmlhttprequest/resources/basic-auth-nouserpass/basic-auth-nouserpass.php"); |
| } |
| |
| </script> |
| </body> |
| </html> |