← v153/capability-elements-camera-and-microphone · conformance

critique · rev 1

v153/capability-elements-camera-and-microphone

reviewed 2026-07-28 by pi leaf worker (wave 1) — self-critique against primary sources; independent review still required

rubric

dimensionscoreseverityevidence
factual-source-fidelity4/5majorEvery behavioral claim traces to a linked implementation file fetched 2026-07-28: interface composition from html_camera_element.idl + html_microphone_element.idl + html_media_capture_element_base.idl + two modules/mediastream partials; event dispatch ordering from user_media_request_provider_impl.cc (SetMediaStream/SetError before EnqueueEvent); activation gating and cancel mapping from html_media_capture_element_base.cc; setConstraints contract (first-call-wins via did_set_constraints_, member backfill, bare-scalar SanitizeTrackConstraints with the exact kept-property list) from user_media_element_constraints.cc. Documented divergences instead of smoothing them: spec track/ontrack vs shipping stream/onstream; spec MediaTrackConstraintSet vs shipping HTMLMediaStreamConstraints; the original 2026-07-28 trunk flag/listing mismatch and then-absent camera/mic WPT tests. Both are re-checked on-page for 2026-10-08: trunk stable/public vs M153 branch without status; five files each in upstream camera/ and microphone/ WPT suites. Prose correctness still requires independent review per the contract.
Deliberately did NOT copy the sibling usermedia page's '<camera>/<microphone> become mute toggles' framing — the current spec marks that behavior TBD and the shipping provider early-returns on an active stream.
milestone-mapping5/5infoFeature id 5153829504024576 appears in the live milestone=153 listing under 'Enabled by default' (verified 2026-07-28); slug derived from the listing name per invariant #1; folder placed per invariant #2. The intent's 152 estimate vs the listing's 153 is documented with both sources.
completeness4/5majorreference-contract.json inventories 9 items (2 elements, 2 properties, 1 method, 1 dictionary, 3 events) — the complete developer-facing surface derivable from the IDL composition — mapped to the overview plus three stable child routes (properties/, setconstraints/, events/), each covering all nine dimensions. Claimed implementation-sufficient; structural gates must confirm.
Substantial members got child routes per the contract rather than a compressed table.
explanation-quality4/5infowhy-they-exist section grounds the feature in the usermedia MVP and PEPC lineage with the single-capability motivation; each section cites its sources inline; the errors table gives exact DOMException names/messages with reachability caveats.
examples4/5infoOverview example configures and consumes both elements end-to-end (setConstraints + stream/cancel/error handlers + srcObject attach); child pages add focused examples including the first-call-wins and sanitizer pitfalls as corrected anti-patterns.
No showcase iframe: the CPS route for this feature 404s (2026-07-28); the page says so and links the sibling usermedia demo instead of embedding a broken frame.
browser-compat-fallbacks4/5minorCompatibility tables on every page carry explicit unknowns (WebView), the source-dated trunk/M153-branch flag distinction, BCD/MDN absence, and the now-present WPT suites; fallback-content and feature-detection guidance is in context sections and examples.
WPT discrepancy should be re-checked once the 153 branch promotion tests land.
links-validity5/5infoAll citation labels are direct links to primary artifacts (spec, explainer, intent thread, ChromeStatus feature + API, Chromium IDL/impl files, TAG review, webstatus). The Google-internal tracking bug (b.corp.google.com) is deliberately NOT linked and is noted as internal-only in reference-contract.json notes. Zero plain-text source labels.
accessibility5/5infoSingle h1, single main landmark, sequential h2 outline, tables use caption + th scope=row/col, code in semantic pre/code, baseline banner uses role=note with aria-label.
responsive-ux4/5infoWide doc-tables wrapped in .table-wrap{overflow-x:auto}; overflow-wrap:anywhere on h1, cells, and code tokens; h1 uses <wbr> hints on child pages. Headless-Chromium screenshots at 390px and 1280px verified by the writer (see report).
Integrator re-runs the formal responsive matrix.
showcase-demo-relationship4/5infoNo CPS demo exists for this feature (route 404, 2026-07-28) — page states this honestly and cross-links the sibling usermedia demo which exercises the same mechanism.

modern-web-guidance consulted

open questions

follow-up goals