kitesurf · WPT

PASS
expected PASS · 704 ms
▶ run in kitesurf
Test
/encoding/streams/encode-utf8.any.html
Actual
PASS
Expected
PASS
Unexpected
no
Duration
704 ms
Harness
OK
Counts
Reason
Run
https://kitesurf.rendering.cfdata.org/?url=http%3A%2F%2Fwpt.live%2Fencoding%2Fstreams%2Fencode-utf8.any.html ↗
Upstream
view on github.com/web-platform-tests/wpt ↗

Subtests

statussubtestmessage
PASSencoding one string of UTF-8 should give one complete chunk
PASSa character split between chunks should be correctly encoded
PASSa character following one split between chunks should be correctly encoded
PASStwo consecutive astral characters each split down the middle should be correctly reassembled
PASStwo consecutive astral characters each split down the middle with an invalid surrogate in the middle should be correctly encoded
PASSa stream ending in a leading surrogate should emit a replacement character as a final chunk
PASSan unmatched surrogate at the end of a chunk followed by an astral character in the next chunk should be replaced with the replacement character at the start of the next output chunk
PASSan unmatched surrogate at the end of a chunk followed by an ascii character in the next chunk should be replaced with the replacement character at the start of the next output chunk
PASSan unmatched surrogate at the end of a chunk followed by a plane 1 character split into two chunks should result in the encoded plane 1 character appearing in the last output chunk
PASStwo leading chunks should result in two replacement characters
PASSa non-terminal unpaired leading surrogate should immediately be replaced
PASSa terminal unpaired trailing surrogate should immediately be replaced
PASSa leading surrogate chunk should be carried past empty chunks
PASSa leading surrogate chunk should error when it is clear it didn't form a pair
PASSan empty string should result in no output chunk
PASSa leading empty chunk should be ignored
PASSa trailing empty chunk should be ignored
PASSa plain ASCII chunk should be converted
PASScharacters in the ISO-8859-1 range should be encoded correctly

bundle built 2026-07-16T07:16:48.063Z