Summary

Harness status: OK

Found 7 tests

Details

ResultTest NameMessage
PassXML document, windows-1252
Asserts run
Pass
assert_equals("application/xml;charset=UTF-8", "application/xml;charset=UTF-8", "document should be serialized and sent as application/xml;charset=UTF-8")
    at Test.<anonymous> ( /xhr/send-entity-body-document.htm:72:11)
Pass
assert_true(true, "\"<ÿ/>\" not in \"<ÿ/>\"")
    at Test.<anonymous> ( /xhr/send-entity-body-document.htm:80:13)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /xhr/send-entity-body-document.htm:84:11)
PassHTML document, invalid UTF-8
Asserts run
Pass
assert_equals("text/html;charset=UTF-8", "text/html;charset=UTF-8", "document should be serialized and sent as text/html;charset=UTF-8")
    at Test.<anonymous> ( /xhr/send-entity-body-document.htm:72:11)
Pass
assert_true(true, "\"<body>\ufffd</body>\" not in \"<html><head></head><body>\ufffd</body></html>\"")
    at Test.<anonymous> ( /xhr/send-entity-body-document.htm:80:13)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /xhr/send-entity-body-document.htm:84:11)
FailHTML document, shift-jisassert_true: "<body>テスト</body>" not in "<html><head><meta name=\"color-scheme\" content=\"light dark\"></head><body><pre style=\"word-wrap: break-word; white-space: pre-wrap;\">top\n</pre></body></html>" expected true got false
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/xhr/send-entity-body-document.htm:80:13)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at HTMLIFrameElement.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2717:32)
Asserts run
Pass
assert_equals("text/html;charset=UTF-8", "text/html;charset=UTF-8", "document should be serialized and sent as text/html;charset=UTF-8")
    at Test.<anonymous> ( /xhr/send-entity-body-document.htm:72:11)
Fail
assert_true(false, "\"<body>テスト</body>\" not in \"<html><head><meta name=\\\"color-scheme\\\" content=\\\"light dark\\\"></head><body><pre style=\\\"word-wrap: break-word; white-space: pre-wrap;\\\">top\\n</pre></body></html>\"")
    at Test.<anonymous> ( /xhr/send-entity-body-document.htm:80:13)
Passplain text file
Asserts run
Pass
assert_equals("text/html;charset=UTF-8", "text/html;charset=UTF-8", "document should be serialized and sent as text/html;charset=UTF-8")
    at Test.<anonymous> ( /xhr/send-entity-body-document.htm:72:11)
Pass
assert_true(true, "\"top\" not in \"<html><head><meta name=\\\"color-scheme\\\" content=\\\"light dark\\\"></head><body><pre style=\\\"word-wrap: break-word; white-space: pre-wrap;\\\">top\\n</pre></body></html>\"")
    at Test.<anonymous> ( /xhr/send-entity-body-document.htm:80:13)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /xhr/send-entity-body-document.htm:84:11)
Failimage fileassert_equals: document should be serialized and sent as text/html;charset=UTF-8 expected "text/html;charset=UTF-8" but got "NO"
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/xhr/send-entity-body-document.htm:72:11)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at HTMLIFrameElement.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2717:32)
Asserts run
Fail
assert_equals("NO", "text/html;charset=UTF-8", "document should be serialized and sent as text/html;charset=UTF-8")
    at Test.<anonymous> ( /xhr/send-entity-body-document.htm:72:11)
Failimg tagassert_true: "<img>foo" not in "<html><head><meta name=\"color-scheme\" content=\"light dark\"></head><body><pre style=\"word-wrap: break-word; white-space: pre-wrap;\">top\n</pre></body></html>" expected true got false
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/xhr/send-entity-body-document.htm:80:13)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at HTMLIFrameElement.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2717:32)
Asserts run
Pass
assert_equals("text/html;charset=UTF-8", "text/html;charset=UTF-8", "document should be serialized and sent as text/html;charset=UTF-8")
    at Test.<anonymous> ( /xhr/send-entity-body-document.htm:72:11)
Fail
assert_true(false, "\"<img>foo\" not in \"<html><head><meta name=\\\"color-scheme\\\" content=\\\"light dark\\\"></head><body><pre style=\\\"word-wrap: break-word; white-space: pre-wrap;\\\">top\\n</pre></body></html>\"")
    at Test.<anonymous> ( /xhr/send-entity-body-document.htm:80:13)
Failempty divassert_true: "<!DOCTYPE html><html><head></head><body><div></div></body></html>" not in "<html><head><meta name=\"color-scheme\" content=\"light dark\"></head><body><pre style=\"word-wrap: break-word; white-space: pre-wrap;\">top\n</pre></body></html>" expected true got false
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/xhr/send-entity-body-document.htm:80:13)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at HTMLIFrameElement.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2717:32)
Asserts run
Pass
assert_equals("text/html;charset=UTF-8", "text/html;charset=UTF-8", "document should be serialized and sent as text/html;charset=UTF-8")
    at Test.<anonymous> ( /xhr/send-entity-body-document.htm:72:11)
Fail
assert_true(false, "\"<!DOCTYPE html><html><head></head><body><div></div></body></html>\" not in \"<html><head><meta name=\\\"color-scheme\\\" content=\\\"light dark\\\"></head><body><pre style=\\\"word-wrap: break-word; white-space: pre-wrap;\\\">top\\n</pre></body></html>\"")
    at Test.<anonymous> ( /xhr/send-entity-body-document.htm:80:13)