Consume truncated UTF-8 tails as one malformed sequence while preserving existing behavior for encoded surrogate code points. This keeps lazy SourceCode decoding and bytecode cache source hashing aligned with eager source text decoding for invalid cached script source bytes. Continue stripping an initial UTF-8 byte order mark in UTF8Decoder::to_utf8() so HTML parsing keeps matching the previous String-based implementation. Cover the shared decoder behavior and the TextDecoder API surface. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Decoder.cpp | ||
| Decoder.h | ||
| Encoder.cpp | ||
| Encoder.h | ||
| Forward.h | ||
| indexes.json | ||