← v156/webrtc-diagnostic-logging-api · conformance
critique · rev 1
v156/webrtc-diagnostic-logging-api
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 5/5 | info | Every signature and constraint traced to the webrtc-extensions Editor's Draft fetched live 2026-10-25: verbatim partial-interface + dictionary IDL, the [[RTCDiagnosticLoggingSessionId]] internal slot, each method's algorithm steps (TypeError on >5 metadata entries or >100-char key/value; InvalidStateError on double-start or stop/cancel without a session; RFC 4122 §4.4 UUID recommendation with the spec's own anti-fingerprinting rationale; stop keeps data, cancel MUST remove it), plus the section's dedicated Security and Privacy text. Shipping state from the runtime flag record (default stable, Android not enabled), the ChromeStatus API record (desktop 156, android null), both resolved blink-dev intent threads, the tracking bug, and the enterprise policy named in the record's own summary. |
| milestone-mapping | 5/5 | info | Feature id 5091582546149376 confirmed in the milestone=156 listing under 'Enabled by default' (fetched 2026-10-25); slug webrtc-diagnostic-logging-api derived from the exact listing name 'WebRTC Diagnostic Logging API' per invariant #1; H1 uses the listing name. The desktop-only reality (no Android milestone; flag record Android:"") is disclosed in the banner, context, and compat table rather than smoothed over. |
| completeness | 5/5 | info | The whole developer-facing surface is three static methods, one single-member dictionary, and the session-slot lifecycle; all six items are inventoried with nine-dimension mappings. Each method gets its own full reference subsection (parameters, return, errors, behavior) rather than a compressed two-column table; the stop-vs-cancel data-retention difference and the one-session-per-global rule get a dedicated state-transition table. |
| explanation-quality | 4/5 | info | The page leads with the API's defining inversion — logs never reach the page, success is unobservable — and keeps restating what that means at each decision point (no feedback to display in the example; a demo could only show the UUID). The static-not-instance nature and per-global (not per-connection) scope are called out explicitly. |
| examples | 4/5 | minor | A support-flow example exercising all three methods, the metadata limits, both throwable errors, and feature detection; labelled gendn-derived from the method contracts. Not executed in a Chrome 156 desktop build in this environment (verification Chromium predates the API); behavior is documented from the spec algorithms. |
| browser-compat-fallbacks | 5/5 | info | No BCD key (0 'diagnostic' matches in api/RTCPeerConnection.json) and no webstatus.dev entry — both stated plainly with the queries named; interim table labelled as such with per-row primary evidence; desktop-only Chrome support stated from two independent sources; Edge honestly marked 'not separately reported' instead of assumed; feature-detection snippet provided. |
| links-validity | 5/5 | info | Zero plain-text citations. All six spec anchors verified present in the fetched ED page source (diagnostic-logging, -extensions-peer-connection, -internal-slots, -methods, -options-dictionary, -security-privacy); both Google Groups conversation URLs resolved from the chromestatus msgid redirects; BCD blob, webstatus API query, standards-position issues, tracking bug, enterprise policy, and showcase index all linked directly. |
| accessibility | 5/5 | info | Single h1, sequential h2/h3 outline, th scope via .doc-table header rows, baseline banner role=note with aria-label, state-transition table with proper column headers, no iframe (no demo exists — a text link is used instead of an empty embed). |
| responsive-ux | 4/5 | info | overflow-wrap:anywhere on h1/lede/inline code, .table-wrap{overflow-x:auto} around every table (the 4-column lifecycle table scrolls on mobile), pre blocks scroll internally; verified via the repo responsive matrix (mobile 360px DPR3 + desktop 1280px screenshots read) before push. |
| showcase-demo-relationship | 3/5 | minor | No showcase demo exists for this feature (route /v156/webrtc-diagnostic-logging-api/ HEAD-checked 404, 2026-10-25); per the routine's fallback rule the page links the showcase v156 index and explains why a demo could show only the session UUID. No iframe embedded — nothing broken is shipped. |
modern-web-guidance consulted
- reference documentation page responsive tables code blocks accessibility — Data tables need proper header semantics and must remain readable and navigable on small screens (scroll container rather than squashed columns). (Applied: at-a-glance, lifecycle (4-column), compat and specifications tables all use .doc-table header semantics inside .table-wrap scroll containers; verified at 360px in the matrix screenshots.)
- reference documentation page responsive tables code blocks accessibility — Semantic structure: single h1, ordered headings, labelled tables; interactive/embedded content needs names. (Applied: single h1 + sequential h2/h3 outline, role=note baseline banner with aria-label, column-header rows on every table; no embedded frame on this page.)
- reference documentation page responsive tables code blocks accessibility — Semantic document structure and native elements; readable, resilient markup that works without script. (Applied: plain sectioned HTML with native tables and pre/code; the page is fully readable with no JavaScript.)
open questions
- Whether Chrome's shipped implementation enforces the metadata limits exactly as specced (5 entries / 100 chars) was not executed in a Chrome 156 build here; documented from the spec algorithm.
- The Edge row is 'not separately reported' — if Edge publishes its own support signal or BCD gains keys for the methods, the interim compat table should be replaced with BCD-anchored rows.
- Whether the enterprise policy is the only authorization surface in Chrome (vs. additional user-facing UI) is not stated by the spec (authorization is implementation-defined); the page cites only the policy the ChromeStatus summary names.
follow-up goals
- [medium · targeted-fix] When BCD adds keys for RTCPeerConnection.startDiagnosticLogging/stopDiagnosticLogging/cancelDiagnosticLogging (or webstatus.dev records a web-feature), replace the interim compat table on v156/webrtc-diagnostic-logging-api with BCD-anchored per-version rows.
- [medium · targeted-fix] When a chrome-platform-showcase demo for webrtc-diagnostic-logging-api is built (route returns 200), embed it in the Examples section of v156/webrtc-diagnostic-logging-api with the mandated sandbox+referrerpolicy pair.
- [low · targeted-fix] Execute the metadata-limit and double-start error paths in a Chrome 156+ desktop build and record observed exception types/messages on v156/webrtc-diagnostic-logging-api.