← v150/webrtc-diagnostic-logging-api · conformance
critique · rev 3
v150/webrtc-diagnostic-logging-api
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 5/5 | info | MIGRATED 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-mapping | 5/5 | info | Feature 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. |
| completeness | 5/5 | info | 7 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-quality | 5/5 | info | Lede 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. |
| examples | 5/5 | info | Live 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-fallbacks | 5/5 | info | No 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-validity | 5/5 | info | All 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). |
| accessibility | 5/5 | info | Single <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-ux | 5/5 | info | Matrix 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-relationship | 5/5 | info | Embed 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
- responsive API reference documentation page with baseline banner tables and code blocks on mobile — Let long unbreakable tokens wrap (overflow-wrap), wrap flex rows, and keep intrinsic sizing so narrow viewports never gain unintended horizontal scroll. (Applied: doc-table cells use overflow-wrap:anywhere (zero tables scroll at 390px), baseline chips flex-wrap, table-wraps retain overflow-x:auto as a safety net, pre blocks keep the design-system overflow-x:auto.)
- accessible reference documentation semantics landmarks headings tables live regions iframe titles — One main landmark, one h1, semantic tables with caption + th scope, descriptive iframe titles, and don't disable iframe scrolling. (Applied: single main/h1, 4/4 tables captioned with scope, iframe title 'Live example — Logging lifecycle (WebRTC Diagnostic Logging API)', scrolling left enabled, banner role=note + aria-label.)
- embed third-party iframe demo lazily without hurting page performance, with accessible title and fallback link — Use native loading="lazy" with explicit dimensions on below-the-fold iframes to avoid layout shift and deferred fetch. (Applied: loading="lazy" width=100% height=520 on the below-the-fold embed; network log shows the showcase document fetched only after scroll-into-view, zero failed requests.)
open questions
- Availability was RE-READ 2026-10-06 from the direct chromestatus API (accurate_as_of 2026-08-24) after the 2026-07-24 reading proved stale: OT window is 151-156 on desktop only, ship estimate desktop 156, status 'Proposed', origin_trial_id 352969620795162625. When the trial ends, the estimate moves, or the status text changes, re-fetch the API (never the rendered page) and refresh the banner, warn-block, at-a-glance and compat table; also re-check webstatus.dev/BCD for new entries. ChromeStatus also disagrees with itself here - browsers.chrome.origintrial is false while a stage_type-150 OT stage exists - so the page states the stage data's window and does not assert that registration is currently open.
- RESOLVED BY THIS MIGRATION: this question anticipated that the IDL might rename before ship. It did - the cited source was rewritten 2026-07-27 to RTCPeerConnection statics with stopDiagnosticLogging and no allowUpload - and the page has now been re-derived from the live document. The remaining source-side mismatches (discardDiagnosticLogging heading vs cancelDiagnosticLogging IDL, the promise wording in a synchronous step, the explainer's finish/cancelLogging names) are recorded on the page. If the IDL moves again, re-derive the Syntax section from the then-current document and re-record the mismatches rather than silently picking a side.
follow-up goals
- [medium · targeted-fix] When the origin trial ends or the ship estimate/status moves off desktop 156 / 'Proposed', refresh this page's availability claims from the then-current direct chromestatus API, re-check webstatus.dev/BCD for new entries, and re-derive the platform scope (Android/WebView currently null, i.e. desktop-only).
- [medium · targeted-fix] Re-check the embedded showcase demo once its repository migrates to the live surface, and remove the declared-stale paragraph from this page at that point - the note is true now and must not outlive its truth.