← v150/webrtc-diagnostic-logging-api · conformance

critique · rev 3

v150/webrtc-diagnostic-logging-api

reviewed 2026-10-06 by gendn-fdh

rubric

dimensionscoreseverityevidence
factual-source-fidelity5/5infoMIGRATED 2026-10-06: the cited source was rewritten on 2026-07-27 and no longer contained this page's surface, so the page was rewritten to the live one rather than relicensed. IDL copied verbatim from the WebRTC Extensions specification's Diagnostic Logging section: [Exposed=Window] partial interface RTCPeerConnection with static DOMString startDiagnosticLogging(optional RTCDiagnosticLoggingOptions options = {}), static undefined stopDiagnosticLogging(), static undefined cancelDiagnosticLogging(); dictionary RTCDiagnosticLoggingOptions with the single member record<DOMString, DOMString> metadata. The previous surface (Navigator.rtc partial, RTC interface, finishDiagnosticLogging, Promise returns, allowUpload=false) is gone from the source and from the page. THREE InvalidStateError throws, each traced to its own method's normative steps: startDiagnosticLogging throws when the [[RTCDiagnosticLoggingSessionId]] slot is NOT null (a session is already running); stopDiagnosticLogging and cancelDiagnosticLogging throw when the slot IS null. The source contains seven occurrences of the term but only three throw sites - the other four are the specification's term index and its WebIDL cross-reference data, so 'three' is a fact about the algorithms rather than a text count. Metadata limits (<=5 pairs, <=100 chars per key and value) and the UUID session ID trace to the startDiagnosticLogging steps; 'MUST NOT log after' traces to both stop and cancel; cancel's discard semantics (so the data cannot be shared) trace to the cancel steps. SOURCE-SIDE MISMATCHES ARE RECORDED RATHER THAN RESOLVED AWAY, and the page says so where a reader meets them: the section heading for the third method reads discardDiagnosticLogging while the IDL - the authoritative surface, and what implementers type - says cancelDiagnosticLogging; the startDiagnosticLogging metadata step still reads 'return a promise rejected with a TypeError' although the operation is now synchronous; and the explainer's example still uses finishDiagnosticLogging and cancelLogging where the IDL says stopDiagnosticLogging and cancelDiagnosticLogging. Silently correcting any of these would make the next reader who searches the source conclude the page invented a name. Runtime features verified against runtime_enabled_features.json5 today: RTCDiagnosticLogging now carries status {"Android": "", "default": "stable"} - stable on desktop, disabled on Android - with origin_trial_feature_name RTCDiagnosticLogging, while the PRE-REWRITE surface is gated by the separate RTCLegacyDiagnosticLogging entry at status experimental. The page previously attributed the legacy surface to RTCDiagnosticLogging and called it experimental; both claims were wrong. Availability re-derived from the direct chromestatus API (accurate_as_of 2026-08-24, updated 2026-09-30): OT stage desktop_first 151 / desktop_last 156 (not the 150-155 the page used to state), android/webview first null (desktop-only confirmed), ship estimate desktop 156, status 'Proposed', origin_trial_id 352969620795162625. Standards provenance also moved: the canonical link is now https://w3c.github.io/webrtc-extensions/#diagnostic-logging at 'Working draft', so the page cites the W3C document as primary and keeps the WICG document as the incubation copy that serves the same surface.
milestone-mapping5/5infoFeature id 5091582546149376 appears in features_by_type for milestone=150 ('Origin trial') — listing position authoritative per invariant #2, re-verified 2026-07-24. Slug 'webrtc-diagnostic-logging-api' derived from the LISTING name via the server slugify. Not in the v151–v153 listings, so no cross-milestone duplication question arises.
completeness5/5info7 h2 sections: at a glance, Syntax (verbatim IDL + per-method tables for all three static methods), What the app can and cannot see (the privacy architecture), Examples (declared-stale embed + reference snippet), Browser compatibility (interim non-BCD), Specifications, See also. Covers the full contractual surface including options, limits, the three InvalidStateError throws, session lifecycle, and the OT setup path.
explanation-quality5/5infoLede leads with the two facts that make this API unusual (the app only ever gets a session ID; upload shares with the browser vendor, not the site). The dedicated 'What the app can and cannot see' section explains the privacy model in plain terms; the OT warn-block gives the exact registration/token steps.
examples5/5infoLive showcase concept embedded (logging-lifecycle, 200 on re-check 2026-10-06 with capability-policy-probe and bug-report-companion also 200; the two spare concepts are linked in See also). THE EMBED IS DECLARED STALE ON THE PAGE: the showcased demo still calls the pre-rewrite surface (navigator.rtc, startDiagnosticLogging/finishDiagnosticLogging/cancelDiagnosticLogging, allowUpload, promise returns) - measured 2026-10-06 across all four demo routes, which contain navigator.rtc, with three of the four also containing allowUpload, and ZERO occurrences of stopDiagnosticLogging or RTCPeerConnection. The page states that plainly with the reason (the demos live in the Chrome Platform Showcase repository, not this one) and the reading date, so the page is true about the API and true about its own live example. The demo's migration is tracked separately. Companion <pre> snippet rewritten to the authoritative IDL: RTCPeerConnection statics, no await, no allowUpload, metadata limits annotated.
browser-compat-fallbacks5/5infoNo webstatus.dev entry (queried: total 0). No BCD entry, VERIFIED 2026-10-06 with a controlled probe rather than assumed: api/RTCPeerConnection.json holds 52 top-level keys, 51 of them members and the positive controls close/createOffer/connectionState/setConfiguration are all present, while no member matching diagnostic or logging exists - so the zero is a fact about BCD, not about the probe (an earlier path-based probe returned 'absent' for close.json too, which is how the first probe was caught). The page labels the table 'interim - from ChromeStatus, not BCD'. Baseline banner honestly reads 'Limited availability'. Edge is 'Not separately reported' with the no-Chromium-equivalence note; Firefox/Safari 'No signal' as recorded. ByteDance's positive position is correctly framed as an application stakeholder, not a browser-vendor signal.
links-validity5/5infoAll outbound links fetched during research; re-verified 2026-10-06: the W3C WebRTC Extensions Diagnostic Logging section (200, section id diagnostic-logging present), the WICG incubation document (200, same surface), the explainer (200), proposal issue #124, the origin-trials page, and all four showcase routes (200). All target=_blank links carry rel=noopener (suite assertion external-links-rel-safe: pass). Zero empty anchors (suite: pass). Canonical chromestatus.com/feature/5091582546149376 identity link present (suite: pass).
accessibility5/5infoSingle <main>, single <h1>, heading order h1→h2→h3 intact. All 4 data tables carry <caption> plus th scope=col/row. Iframe has a descriptive title; scrolling not disabled. Baseline banner marked role=note with aria-label.
responsive-ux5/5infoMatrix pass: responsive scan desktop:ok mobile:ok (shots read). chrome-devtools-mcp at 1280×800 and 390×844: documentElement.scrollWidth equals innerWidth on both, zero overflowing elements, zero tables scrolling (overflow-wrap:anywhere on cells), baseline chips wrap, iframe 342px fits. No 100vh/dvh traps.
showcase-demo-relationship5/5infoEmbed src contains chrome-platform-showcase.paulkinlan-ea.deno.net/v150/webrtc-diagnostic-logging-api (suite demo-embed-own-feature: pass). Suite cpsFeature references the CPS conformance contract at /v150/webrtc-diagnostic-logging-api/logging-lifecycle/conformance rather than forking platform assertions; conformance.json is unchanged by this migration (its identity 5091582546149376 and suiteHash are untouched, and none of its assertions name the old surface - verified before editing, because a changed conformance.json would have made this page's touched-reference exemption moot). The embedded demo's own copy still presents the pre-rewrite surface, and the page now says so explicitly with the reading date and the reason, rather than leaving the contradiction silent; the demos' migration is tracked in a separate bead because that repository is a different project.

modern-web-guidance consulted

open questions

follow-up goals