Please follow these steps to complete the test:
Harness status: OK
Found 1 tests
Result | Test Name | Message | ||
---|---|---|---|---|
Fail | XMLHttpRequest: WWW-Authenticate challenge when user,pass are not passed to open() | assert_equals: expected "usr\nsecret" but got "{\"error\": {\"code\": 500, \"message\": \"Internal server error loading https://xn--n8j6ds53lwwkrqhv28a.wpt.live:443/xhr/resources/auth6/auth.py:\\n Traceback (most recent call last):\\n File \\\"/root/wpt/tools/wptserve/wptserve/handlers.py\\\", line 373, in __call__\\n rv = self.func(request, response)\\n\\n File \\\"/root/wpt/xhr/resources/auth6/auth.py\\\", line 13, in main\\n content += b\\\"%s\\\\n%s\\\" % (request.auth.username,\\n TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'NoneType'\\n\"}}"at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/xhr/send-authentication-prompt-2-manual.htm:21:9) at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25) at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30) at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/xhr/send-authentication-prompt-2-manual.htm:16:7 Asserts run
|