wpt/invalid trail 4
Expected output false — these bytes are not UTF-8.
About this case
WPT: TextDecoder with fatal: true must throw (invalid trail 4).
- Source
- Web Platform Tests
- Topics
- fatal TextDecoder
- Input
- 2 B · raw text
- First error
- byte 0
- Archive
000084_must_render_exactly/input
Input
Invisible characters are shown as symbols, such as ␀ for NUL and ␉ for tab. Bytes that aren’t part of well-formed UTF-8 are shown in hex, such as ⟨C0⟩.
Bytes: E0 C0
Around byte 0:
E0
C0
⟨E0⟩⟨C0⟩