← v159/webtransporterror-api-alignment-and-serialization · conformance
critique · rev 1
v159/webtransporterror-api-alignment-and-serialization
Implementation-sufficient Chrome 159 developer-trial reference for WebTransportError API alignment and serialization, including mandatory .warn-block, Blink IDL/serializer/deserializer fidelity, and embedded Chrome Platform Showcase live demo.
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 5/5 | info | WebIDL, legacy compatibility overload (octet clamping + legacyIgnored), 32-bit streamErrorCode propagation, and versioned Blink serializer/deserializer wire fields verified directly against W3C WebTransport §12, Blink source on main, and ChromeStatus 5158277221580800 on 2026-11-24. |
| milestone-mapping | 5/5 | info | Feature 5158277221580800 appears under 'In developer trial (Behind a flag)' in /api/v0/features?milestone=159 with listing name 'WebTransportError API alignment and serialization'; H1 matches listing name, .warn-block explains flag enablement and M160 shipping target, ChromeStatus row declares full 16-digit ID. |
| completeness | 5/5 | info | reference-contract.json maps 4 source-derived inventory items (standard constructor, legacy overload, 32-bit streamErrorCode/source, [Serializable] structured cloning) across all 9 required dimensions. |
| explanation-quality | 5/5 | info | Clearly separates standard W3C (message, options) constructor from Chromium's retained legacy dictionary overload, documents wire-format serialization vs reserved stack field, and explains writer kill switch vs permanent decoder. |
| examples | 5/5 | info | Embeds live Chrome Platform Showcase constructor-overloads interactive demo (sandboxed + strict referrerpolicy) alongside two complete semantic <pre><code> examples covering standard construction, structuredClone/postMessage, and cross-browser detection shims. |
| browser-compat-fallbacks | 5/5 | info | Tabular compatibility combines BCD api/WebTransportError.json with ChromeStatus M159 flag / M160 shipping target, Firefox Bug 2009530, and WebKit Bug 305224. |
| links-validity | 5/5 | info | Every visible source label carries a direct <a href> with target='_blank' rel='noopener'; full 16-digit ChromeStatus ID 5158277221580800; embedded CPS concept URL and conformance suite verified 200. |
| accessibility | 5/5 | info | Single <main>, single <h1>, sequential h2/h3, .warn-block with role='note' aria-label, <nav class='local-nav'>, captioned tables with <th scope> inside focusable .table-wrap scroll regions, titled iframe. |
| responsive-ux | 5/5 | info | Uses shared public/styles.css layout and dark-mode tokens, logical max-inline-size: 100% on tables and iframe embeds, and responsive verification across desktop and 360px mobile. |
| showcase-demo-relationship | 5/5 | info | Primary embedded demo points to https://chrome-platform-showcase.paulkinlan-ea.deno.net/v159/webtransporterror-api-alignment-and-serialization/constructor-overloads/ (verified 200 with breadcrumb pointing to feature root whose conformance.json matches release v159 and chromestatusId 5158277221580800). |
modern-web-guidance consulted
- warning banner alert semantics accessible navigation — Use semantic landmarks, role='note' with descriptive aria-label for non-interruptive informational/experimental warnings (avoiding live-region role='alert' noise on static page load), sequential headings, focusable scroll regions, and titled iframes. (Applied: .warn-block uses role='note' aria-label='Experimental feature notice', <nav class='local-nav' aria-label='On this page'> provides keyboard jump links, tables use captions + <th scope> + aria-labelledby on .table-wrap, and the embedded iframe includes a descriptive title attribute.)
- responsive data table mobile overflow typography — Use logical max-inline-size: 100% on media/iframes and scrollable containers, avoid overflow: hidden clipping, and let flex-wrap handle variable-width badge lists. (Applied: .example-embed iframe and .table-wrap use max-inline-size: 100%, relying on shared public/styles.css for .baseline-browsers wrapping and pre scrolling.)
- responsive data table mobile overflow typography — Preserve balanced heading wrapping and clean code/prose contrast via shared design tokens rather than per-page inline overrides. (Applied: omitted inline overrides on h1, pre, code, and blockquote so shared public/styles.css typography and light-dark() tokens apply consistently.)
open questions
- Update the experimental .warn-block and browser compatibility table once Chrome 160 ships WebTransportError API alignment and serialization enabled by default.
- Track whether BCD adds dedicated subfeatures for the (message, options) constructor, 32-bit streamErrorCode, and structured cloning.
follow-up goals
- [medium · targeted-fix] Refresh status and compatibility notes once Chrome 160 ships WebTransportError API alignment enabled by default.