Upstream gap
Copied corpus position 4112 (js/web/fetch/blob.test.ts) reaches Bun’s odd-offset UTF-16 regression: Blob.slice(1).text() and .json() return empty subprocess output instead of decoding bytes beginning with an FF FE BOM.
Required parity
- Detect UTF-16LE/BE BOMs from the selected Blob byte range, independent of its original backing-store alignment.
- Use the same decoder for Blob text and JSON consumption.
- Preserve UTF-8 BOM behavior and replacement semantics for malformed input.
- Exercise the isolated subprocess path so aborts surface as child failures.
- Add focused direct regression coverage and pass the complete upstream file and queue.