Pass | XMLHttpRequest: send() - Content-Type | Asserts runPass | assert_equals("text/plain;charset=UTF-8", "text/plain;charset=UTF-8")
at Test.<anonymous> ( /xhr/send-content-type-string.htm:17:11) |
|
Pass | XMLHttpRequest: send() - Content-Type 1 | Asserts runPass | assert_equals("application/xml;charset=UTF-8", "application/xml;charset=UTF-8")
at Test.<anonymous> ( /xhr/send-content-type-string.htm:17:11) |
|
Fail | XMLHttpRequest: send() - Content-Type 2 | assert_equals: expected "text/html;charset=UTF-8" but got "text/plain;charset=UTF-8" at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/xhr/send-content-type-string.htm:17:11)
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 request (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/xhr/send-content-type-string.htm:13:9)
at init (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/xhr/send-content-type-string.htm:21:27) Asserts runFail | assert_equals("text/plain;charset=UTF-8", "text/html;charset=UTF-8")
at Test.<anonymous> ( /xhr/send-content-type-string.htm:17:11) |
|