← v151/protocol-filtering-in-digital-credential-api · conformance
critique · rev 1
v151/protocol-filtering-in-digital-credential-api
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 5/5 | info | Primary-source re-review on 2026-07-26: the merged FedID draft defines required request protocol members, readonly DigitalCredential.protocol, the DigitalCredentialProtocol union typedef and two closed enums, userAgentAllowsProtocol(), privacy constraints, and validation filtering. ChromeStatus “unspecified protocols” means arbitrary identifiers outside the normative registry, not omission of the required member. ChromeStatus separately supplies the 151/160 timeline and exact #enable-experimental-web-platform-features flag; runtime_enabled_features.json5 supplies the DigitalCredentialsProtocolFilter experimental runtime token. MDN API/DigitalCredential and userAgentAllowsProtocol_static both return 404. |
| milestone-mapping | 5/5 | info | Feature id 6492906882990080 appears in the v151 milestone listing under 'In developer trial (Behind a flag)'; route slug derives from the historical listing name per the documented slug rule; the 2026-10-08 listing renamed the title to 'More specific protocol filtering in Digital Credential API', which the H1 now follows while retaining the published slug and feature id; the warn-block names the exact flag. |
| completeness | 5/5 | info | Exact 4-item inventory: static userAgentAllowsProtocol(), protocol members (required request dictionaries + readonly credential attribute), DigitalCredentialProtocol union typedef, and the two closed protocol enumerations. Overview links two stable child routes; each inventory item maps to all nine dimensions. Contract promoted only after independent primary-source and browser review. |
| explanation-quality | 5/5 | info | The overview distinguishes the existing required member from the actual migration: arbitrary opaque protocol identifiers outside the normative registry are being filtered. It separates unknown/disallowed false results from ReferenceError caused only by an absent unguarded interface global. |
| examples | 5/5 | info | Overview embeds the identity-verified showcase protocol-allowlist (200, same chromestatus id) with a linked source label; snippets follow the spec's own two-step gate pattern (typeof check → protocol check) and a compliant request shape. |
| browser-compat-fallbacks | 5/5 | info | BCD-backed API availability (Chrome 141, Safari 26, Edge mirror, Firefox false) stays separate from ChromeStatus’s Chrome 151 deprecation trial and Chrome 160 removal target. Enablement correctly distinguishes #enable-experimental-web-platform-features from the DigitalCredentialsProtocolFilter Finch/Blink token. |
| links-validity | 5/5 | info | Every named source has its own canonical public link, including the FedID protocols, validation, typedef, member, method and enum anchors; Web IDL dictionary conversion; runtime_enabled_features.json5; ChromeStatus page/API; BCD; issue #396; and exact Showcase routes. Reviewed links are visible, descriptive, and use rel=noopener for new tabs. |
| accessibility | 5/5 | info | Single main and h1 per page; sequential h1→h2; tables with captions and scoped headers; banner role=note with aria-label; warn-block for the flag-gated trial; descriptive iframe title; <wbr> hints in long H1s. |
| responsive-ux | 5/5 | info | First-column width hints and compat-table column min-widths applied from the start (cycle-8/9/10 lessons); MCP matrix at 1280x800 and 390x844 verifies no document overflow on all three routes; pre blocks scroll internally by design. |
| showcase-demo-relationship | 5/5 | info | Iframe src is the feature's own stable showcase route (protocol-allowlist), identity-matched to chromestatus id 6492906882990080 and HEAD-verified 200 alongside the compliant-request-builder and deprecation-migration siblings (linked in See also). cpsFeature.conformanceRoute is the feature-level route (corrected from the generated concept route before commit). No repointing, no forked platform assertions. |
modern-web-guidance consulted
- readable API reference documentation page with IDL enum code blocks and live embedded demo iframe responsive on mobile — Correct HTML semantics for code, figures, and tables; escape examples properly. (Applied: figure/figcaption embed, pre/code blocks, th scope attributes, escaped snippets.)
- readable API reference documentation page with IDL enum code blocks and live embedded demo iframe responsive on mobile — Semantic structure and descriptive titles for embedded frames. (Applied across all three pages.)
- responsive data tables compatibility table readable at 390px without horizontal page overflow — Contain wide content within its track; avoid min-content blowout on narrow viewports. (Applied: .table-wrap containment, overflow-wrap anywhere, column min-widths.)
- capability probe pattern without exceptions for forward-compatible feature detection — Prefer non-throwing capability checks and guard clauses for progressive enhancement. (Applied: the two-step gate (typeof → userAgentAllowsProtocol) is presented as the canonical pattern, matching the method's never-throws-on-unknown contract.)
open questions
- 2026-10-08 Chrome 154 flag comparison on localhost: userAgentAllowsProtocol() returns true for three registered names in both runs; future-protocol true without --enable-experimental-web-platform-features and false with it; empty string false in both. No credential request or wallet was exercised; call-time request skipping remains unverified. The ChromeStatus detail title changed to 'More specific protocol filtering in Digital Credential API' and its updated date is now 2026-08-26.
- The Chrome 160 removal target can shift; refresh the timeline from ChromeStatus before that milestone.
- The current WebIDL enum values are closed for this draft revision but future revisions may add values; re-check the registry when the draft changes.
follow-up goals
- [medium · targeted-fix] On Chrome 151+, enable #enable-experimental-web-platform-features and verify registered versus unknown/disallowed protocol filtering plus userAgentAllowsProtocol() false behavior; record runtime evidence.
- [medium · targeted-fix] When the Chrome 160 removal lands or the timeline shifts, refresh the deprecation/migration framing from a fresh ChromeStatus record and update the warn-block.