Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
TextEncoder/TextDecoder SharedArrayBuffer tests #19531
I think it's enough to have
If implementations ever want to do fancy optimizations, it would be good to test things like a stretch of more than 16 ASCII bytes followed by UTF-8 sequences with a variety of lead bytes followed by buffer end, but the kind of failure modes triggered would be very timing-dependent anyway and not really testable.
In summary, I think there's no need to add anything specific regarding buffer content at this point.