← v151/textstream-for-response-request-blob · conformance
critique · rev 5
v151/textstream-for-response-request-blob
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 5/5 | info | Every claim traces to a primary source fetched live on 2026-07-26: Fetch Standard method steps (unusable → TypeError; null body → new closed empty ReadableStream; UTF-8 decoder 'regardless of the presence or the value of a Content-Type header … charset parameter'), FileAPI Blob steps and its readAsText() distinction note, Chromium body.idl/blob.idl bindings ([RuntimeEnabled=TextStreamMethod, RaisesException]), runtime_enabled_features.json5 (TextStreamMethod, status stable, crbug.com/514448226), and WPT textstream.any.js (non-null bodies set bodyUsed true immediately; null bodies stay false and are repeatable; chunks are strings). Proposal maturity is stated precisely: whatwg/fetch PR #1862 is MERGED, so the spec text is normative — explicitly distinguished from listing status (Enabled by default) and detail status ('Proposed', updated 2026-06-22). An initial draft mis-stated the FileAPI readAsText() note (claimed readAsText always uses UTF-8); corrected before commit to the spec's actual point (readAsText accepts an encoding label; textStream has no encoding option). |
| milestone-mapping | 5/5 | info | Feature id 5146752165478400 appears in the v151 milestone listing under 'Enabled by default'; the route slug derives from the listing name per the documented slug rule; the H1 is the listing name verbatim (textContent unchanged by the <wbr> break hints). Listing status, detail status (Proposed, desktop+Android 151), and ship stage (intent 5, desktop_first 151) are presented as separate facts. |
| completeness | 5/5 | info | Six h2 sections: at-a-glance metadata, Syntax (normative IDL + Chromium bindings + member reference covering parameters, return value, exceptions, null-body behavior, encoding, bodyUsed side effect), Examples (live embed + reader-loop snippet), Browser compatibility (BCD-backed per-interface), Specifications, See also (WPT, crbug, IDL files, adjacent MDN TextDecoderStream clearly labelled adjacent). |
| explanation-quality | 5/5 | info | The lede gives the mental model (byte-stream body → ReadableStream of UTF-8 strings; shorthand for a TextDecoderStream pipe, minus the footgun — the feature's own stated motivation). The member reference separates behavior classes: exception contract, repeatable null-body contract, always-UTF-8 contract, and the immediate bodyUsed side effect for non-null bodies. Vendor positions (Safari Positive) are explicitly separated from shipped support (Safari not supported per BCD). |
| examples | 5/5 | info | The embed is the identity-verified showcase streaming-text-reader concept (200, same chromestatus id 5146752165478400, target-behavior demo). The snippet uses the canonical getReader() loop shape from WPT textstream.any.js rather than for-await (broader engine compatibility), operates on a real fetch response, and notes the Blob/Request cases without placeholder accumulation or fabricated state. |
| browser-compat-fallbacks | 5/5 | info | Real BCD-backed table extended per review (Chrome 151; Chrome for Android and WebView Android/iOS mirrors; Edge mirror; Firefox and Safari not supported per BCD; Node.js 26.5.0; Deno explicitly unknown — no BCD entry), each BCD file linked separately. Baseline banner says 'Limited availability' honestly (linked webstatus.dev query returns no entry). Vendor signals are cited from the ChromeStatus API feature record (linked) — Firefox 'No signal', Safari 'Positive' framed as a recorded signal, not an official WebKit standards position for a feature this small — kept strictly separate from the BCD support rows. An earlier revision cited core_enums.py for per-feature vendor views; independent review rejected that provenance and it was removed from every page and the contract. |
| links-validity | 5/5 | info | Direct primary-source link contract applied: every named source links separately to its canonical original — fetch.spec.whatwg.org#dom-body-textstream, w3c.github.io/FileAPI anchors (#dom-blob-textstream, #blob-get-stream, #failureReason), encoding.spec.whatwg.org#dom-textdecoderoptions-fatal, all four Chromium IDL/runtime files, both WPT test files, all three BCD files, the ChromeStatus API feature record and feature page, the webstatus.dev query URL, whatwg/fetch PR #1862, crbug.com/514448226, MDN TextDecoderStream (adjacent, labelled), and the three showcase routes (the visible 'chrome-platform-showcase' label is itself a link). All external links use target=_blank rel=noopener. Zero plain-text source labels. |
| accessibility | 5/5 | info | Single main and h1; sequential h1→h2; four semantic tables with captions and scoped headers (row headers on reference rows, column headers on tabular data); banner role=note with aria-label; descriptive iframe title; first-column width hint (32%/7.5rem) keeps row labels wrapping at word boundaries at 390px. |
| responsive-ux | 5/5 | info | Screenshot review caught a real mobile defect pre-commit: the H1's unbreakable token 'response/request/blob' clipped at 360px CSS width. Fixed with <wbr> break hints (textContent identical to the listing name); re-shot mobile confirms clean three-line wrap. Per-page responsive run + chrome-devtools-mcp matrix at 1280×800 and 390×844 verify no document-level horizontal overflow at either size; wide code blocks scroll internally by design (pre overflow-x auto), matching the accepted house pattern. |
| showcase-demo-relationship | 5/5 | info | Iframe src is the feature's own stable showcase route (v151/textstream-for-response-request-blob/streaming-text-reader/), identity-matched to the same chromestatus id (5146752165478400) and HEAD-verified 200 alongside both sibling concepts (response-pipeline, feature-detect), which are linked in See also. No repointing, no forked platform assertions. |
modern-web-guidance consulted
- readable API reference documentation page with method syntax IDL code blocks and live embedded demo iframe responsive on mobile — Semantic structure (single h1, ordered headings, labelled tables) and descriptive titles for embedded frames. (Applied: caption+scoped-header tables, role=note banner with aria-label, descriptive iframe title, sequential h1→h2 outline.)
- readable API reference documentation page with method syntax IDL code blocks and live embedded demo iframe responsive on mobile — Use correct HTML semantics for code, figures, and tables; escape examples properly. (Applied: figure/figcaption embed, pre/code blocks with escaped IDL and snippets, th scope attributes.)
- responsive data tables compatibility table readable at 390px without horizontal page overflow — Contain wide content within its track; avoid min-content blowout on narrow viewports. (Applied: .table-wrap overflow-x auto containment, overflow-wrap anywhere on cells, first-column width/min-width hint so labels wrap at word boundaries; <wbr> hints in the H1 for the slash-joined token.)
- responsive data tables compatibility table readable at 390px without horizontal page overflow — No document-level horizontal overflow; internal scrolling only where intentional. (Applied: pre blocks keep overflow-x auto (internal scroll); verified document scrollWidth equals viewport at 1280 and 390 via MCP geometry checks.)
- streams ReadableStream progressive text decoding reader loop without blocking main thread INP — No streams-specific guide exists; search returned only translator/summarizer guides. (Justified exception recorded: no applicable guide; the snippet instead follows the canonical WPT reader-loop shape.)
open questions
- 2026-10-08 Chrome 154 runtime now confirms string chunks on Response/Request/Blob, immediate bodyUsed true and TypeError on disturbed/locked non-null Response/Request, and fresh closed streams with bodyUsed false on repeat null-body calls. This replaces the old Chrome-150 blocked-runtime note; conformance.json remains immutable and still carries its historical blocked assertion description.
- Safari's ChromeStatus vendor position is Positive while BCD records no support; if WebKit ships, the BCD rows and the Baseline banner should be re-derived rather than hand-edited.
- MDN now has substantive Response/Request/Blob textStream() member pages (200 with Specifications and Browser compatibility sections, checked 2026-10-08). Re-evaluate Case A stub policy separately; preserve this page's routes, reference depth, and existing live demo until that decision is made.
follow-up goals
- [medium · targeted-fix] When MDN publishes real textStream() coverage (Response/Request/Blob member pages with Specifications and Browser compatibility sections), re-evaluate this page against the Case A stub policy.
- [low · targeted-fix] When Firefox or Safari support lands in BCD (or webstatus.dev gains a textStream entry), refresh the compatibility table and Baseline banner from the data sources.