unsupported-encodings.any.html

FAILExpected10 of 14 subtests pass318 ms

Details

Test
/encoding/unsupported-encodings.any.html
Harness
OK

Subtests

StatusSubtestMessage
PASSUTF-7 should not be supported
PASSutf-7 should not be supported
FAILUTF-32 with BOM should decode as UTF-16LE
assert_equals: Decoding with UTF-32 expected "U+0000/U+0041/U+0000/U+0042/U+0000" but got "U+FFFD/U+FFFD/U+0000/U+0000/U+0041/U+0000/U+0000/U+0000/U+0042/U+0000/U+0000/U+0000"
assert_equals: Decoding with UTF-32 expected "U+0000/U+0041/U+0000/U+0042/U+0000" but got "U+FFFD/U+FFFD/U+0000/U+0000/U+0041/U+0000/U+0000/U+0000/U+0042/U+0000/U+0000/U+0000"
PASSUTF-32 with no BOM should decode as UTF-8
FAILutf-32 with BOM should decode as UTF-16LE
assert_equals: Decoding with utf-32 expected "U+0000/U+0041/U+0000/U+0042/U+0000" but got "U+FFFD/U+FFFD/U+0000/U+0000/U+0041/U+0000/U+0000/U+0000/U+0042/U+0000/U+0000/U+0000"
assert_equals: Decoding with utf-32 expected "U+0000/U+0041/U+0000/U+0042/U+0000" but got "U+FFFD/U+FFFD/U+0000/U+0000/U+0041/U+0000/U+0000/U+0000/U+0042/U+0000/U+0000/U+0000"
PASSutf-32 with no BOM should decode as UTF-8
FAILUTF-32LE with BOM should decode as UTF-16LE
assert_equals: Decoding with UTF-32LE expected "U+0000/U+0041/U+0000/U+0042/U+0000" but got "U+FFFD/U+FFFD/U+0000/U+0000/U+0041/U+0000/U+0000/U+0000/U+0042/U+0000/U+0000/U+0000"
assert_equals: Decoding with UTF-32LE expected "U+0000/U+0041/U+0000/U+0042/U+0000" but got "U+FFFD/U+FFFD/U+0000/U+0000/U+0041/U+0000/U+0000/U+0000/U+0042/U+0000/U+0000/U+0000"
PASSUTF-32LE with no BOM should decode as UTF-8
FAILutf-32le with BOM should decode as UTF-16LE
assert_equals: Decoding with utf-32le expected "U+0000/U+0041/U+0000/U+0042/U+0000" but got "U+FFFD/U+FFFD/U+0000/U+0000/U+0041/U+0000/U+0000/U+0000/U+0042/U+0000/U+0000/U+0000"
assert_equals: Decoding with utf-32le expected "U+0000/U+0041/U+0000/U+0042/U+0000" but got "U+FFFD/U+FFFD/U+0000/U+0000/U+0041/U+0000/U+0000/U+0000/U+0042/U+0000/U+0000/U+0000"
PASSutf-32le with no BOM should decode as UTF-8
PASSUTF-32be with no BOM should decode as UTF-8
PASSUTF-32be with BOM should decode as UTF-8
PASSutf-32be with no BOM should decode as UTF-8
PASSutf-32be with BOM should decode as UTF-8