Response headers

Summary

Harness status: OK

Found 17 tests

Details

ResultTest NameMessage
FailgetResponseHeader: Expose Access-Control-Expose-Headers (x-custom-header-comma)Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
Error: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:22:16)
    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 check_response_header (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:19:5)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:31:1
Asserts runNo asserts ran
FailgetResponseHeader: Expose second Access-Control-Expose-Headers (x-second-expose)Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
Error: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:22:16)
    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 check_response_header (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:19:5)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:32:1
Asserts runNo asserts ran
FailgetResponseHeader: Don't trim whitespaceFailed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
Error: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:22:16)
    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 check_response_header (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:19:5)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:33:1
Asserts runNo asserts ran
FailgetResponseHeader: x-custom-header bytesFailed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
Error: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:22:16)
    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 check_response_header (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:19:5)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:34:1
Asserts runNo asserts ran
FailgetResponseHeader: Exposed server field readable (Date)Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
Error: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:22:16)
    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 check_response_header (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:19:5)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:35:1
Asserts runNo asserts ran
FailgetResponseHeader: Cache-Control: readable by defaultFailed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
Error: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:22:16)
    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 check_response_header (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:19:5)
    at default_readable (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:40:5)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:42:1
Asserts runNo asserts ran
FailgetResponseHeader: Content-Language: readable by defaultFailed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
Error: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:22:16)
    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 check_response_header (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:19:5)
    at default_readable (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:40:5)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:43:1
Asserts runNo asserts ran
FailgetResponseHeader: Expires: readable by defaultFailed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
Error: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:22:16)
    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 check_response_header (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:19:5)
    at default_readable (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:40:5)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:44:1
Asserts runNo asserts ran
FailgetResponseHeader: Last-Modified: readable by defaultFailed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
Error: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:22:16)
    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 check_response_header (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:19:5)
    at default_readable (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:40:5)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:45:1
Asserts runNo asserts ran
FailgetResponseHeader: Pragma: readable by defaultFailed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
Error: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:22:16)
    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 check_response_header (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:19:5)
    at default_readable (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:40:5)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:46:1
Asserts runNo asserts ran
FailgetResponseHeader: Content-Length: readable by defaultFailed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
Error: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:22:16)
    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 check_response_header (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:19:5)
    at default_readable (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:40:5)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:47:1
Asserts runNo asserts ran
FailgetResponseHeader: Content-Type: readable by defaultFailed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
Error: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:22:16)
    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 check_response_header (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:19:5)
    at default_readable (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:40:5)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:48:1
Asserts runNo asserts ran
FailgetResponseHeader: Server: unreadable by defaultFailed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
Error: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:22:16)
    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 check_response_header (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:19:5)
    at default_unreadable (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:52:5)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:54:1
Asserts runNo asserts ran
FailgetResponseHeader: X-Powered-By: unreadable by defaultFailed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
Error: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:22:16)
    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 check_response_header (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:19:5)
    at default_unreadable (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:52:5)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:55:1
Asserts runNo asserts ran
FailgetResponseHeader: Combined testing of cors response headersassert_equals: x-custom-header expected (string) "test, test" but got (object) null
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:72:13)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at XMLHttpRequest.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2689:35)
Asserts run
Fail
assert_equals(null, "test, test", "x-custom-header")
    at Test.<anonymous> ( /cors/response-headers.htm:72:13)
FailgetResponse: don't expose x-nonexposedFailed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
Error: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:90:12)
    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/cors/response-headers.htm:87:1
Asserts runNo asserts ran
FailgetAllResponseHeaders: don't expose x-nonexposedFailed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
Error: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://www1.xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/resources/cors-headers.asis'.
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/cors/response-headers.htm:98:12)
    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/cors/response-headers.htm:95:1
Asserts runNo asserts ran