← v160/webtransport-connection-statistics · conformance
critique · rev 1
v160/webtransport-connection-statistics
Implementation-sufficient Chrome 160 reference for WebTransport connection statistics (WebTransport.getStats(), WebTransportConnectionStats, WebTransportDatagramStats), sourced from W3C WebTransport, RFC 9002, Blink IDL/C++, WPT stats.https.any.js, BCD, webstatus.dev, Firefox 158 notes, WebKit source, and ChromeStatus 5120203192139776, with live sandboxed CPS embed.
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 5/5 | info | WebIDL, IPC coalescing, positive-min_rtt gating of RTT fields, null default for estimatedSendRate, Blink vs network-service sourcing of datagram counters, post-close cached latest_stats_ resolution, InvalidStateError on failed connections, and omission of 9 spec byte/packet/atSendCapacity members verified verbatim from W3C WebTransport, Blink web_transport*.idl + web_transport.cc, WPT stats.https.any.js, and ChromeStatus 5120203192139776. |
| milestone-mapping | 5/5 | info | Feature 5120203192139776 appears under 'Enabled by default' in /api/v0/features?milestone=160 with listing name 'WebTransport connection statistics'; slug webtransport-connection-statistics matches; H1 equals listing name; chromestatus.com/feature/5120203192139776 declared in .doc-table ChromeStatus row. |
| completeness | 5/5 | info | reference-contract.json inventories WebTransport.getStats(), WebTransportConnectionStats (all 5 Chrome 160 members), and WebTransportDatagramStats (all 4 members) across all 9 dimensions with zero declared-surface gaps. |
| explanation-quality | 5/5 | info | Clearly separates Chrome 160's shipped field subset from the 9 unshipped W3C spec byte/packet/atSendCapacity fields, documents pooled-connection privacy rules, and explains connecting/closed/failed lifecycle edges. |
| examples | 5/5 | info | Embeds live sandboxed Chrome Platform Showcase concept demo (/v160/webtransport-connection-statistics/stats-snapshot/) plus two complete semantic <pre><code> examples covering defensive cross-engine RTT/send-rate polling and post-close datagram counter inspection. |
| browser-compat-fallbacks | 5/5 | info | Reconciles BCD api/WebTransport.json (Chrome 'preview', Firefox 114 stub, Safari 26.4, Deno 2.2) with ChromeStatus 160, Firefox 158 release notes, and WebKit-7625.2.8 source (Safari 27.2 default-initialized stats). |
| links-validity | 5/5 | info | Zero unlinked citation labels; all external links use target='_blank' rel='noopener'; live CPS embed and parent conformance route verified HTTP 200. |
| accessibility | 5/5 | info | Single <main>, single <h1>, sequential h2/h3 headings, semantic captioned tables with <th scope>, focusable .table-wrap scroll regions with aria-labelledby and :focus-visible outline, <nav class='local-nav'> jump bar, and Baseline role='note'. |
| responsive-ux | 5/5 | info | Uses shared /public/styles.css semantic tokens, logical max-inline-size: 100% on .table-wrap and embedded iframe, horizontal scroll tables, and zero inline overrides of pre/h1/code/blockquote. |
| showcase-demo-relationship | 5/5 | info | Embeds own-feature CPS concept /v160/webtransport-connection-statistics/stats-snapshot/ with sandbox='allow-scripts allow-same-origin' referrerpolicy='strict-origin-when-cross-origin'; parent breadcrumb and /v160/webtransport-connection-statistics/conformance.json match chromestatusId 5120203192139776. |
modern-web-guidance consulted
- responsive reference documentation table horizontal scroll accessible code blocks — Wrap content in semantic landmarks (<main>, <header>, <nav>, <footer>), maintain sequential headings, use <caption> and <th scope> on tables, and provide explicit keyboard focus styles on scrollable regions. (Applied: single <main>, <nav class='local-nav' aria-label='On this page'>, sequential h1/h2/h3, captioned tables with <th scope>, and focusable .table-wrap regions wired via aria-labelledby with a 3px :focus-visible outline.)
- responsive reference documentation table horizontal scroll accessible code blocks — Use logical sizing properties (max-inline-size, inline-size) and overflow scroll containers rather than overflow: hidden clipping so wide tables and embeds stay usable at 360px. (Applied: .table-wrap and .example-embed iframe use max-inline-size: 100% with min-width table scrollers, preserving shared public/styles.css tokens without inline pre/h1/code overrides.)
- accessible navigation table of contents semantic HTML — Use standard HTML5 doctype, lang attribute, responsive viewport meta, single <h1>, semantic <figure>/<figcaption> for embeds, and <a> strictly for navigation. (Applied: semantic <header>, <nav>, <section>, <figure class='example-embed'> with sandboxed iframe and <figcaption>, and valid external link hygiene.)
- responsive reference documentation table horizontal scroll accessible code blocks — Keep technical headings balanced and code/prose legible across narrow mobile and desktop viewports via shared design-system typography. (Applied: delegates heading balance, typography, dark-mode tokens, and pre overflow handling to shared /public/styles.css.)
open questions
- Track whether Chromium subsequently adds the remaining 9 W3C WebTransportConnectionStats byte/packet/atSendCapacity members.
- Refresh Browser compatibility once BCD updates Chrome from 'preview' to '160' and Firefox from '114' stub to '158'.
follow-up goals
- [low · targeted-fix] Update WebTransportConnectionStats table if Chromium adds connection byte/packet totals or atSendCapacity in a later milestone.