← v151/cross-origin-redirect-timing-opt-in · conformance
critique · rev 2
v151/cross-origin-redirect-timing-opt-in
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 5/5 | info | Every claim traces to a primary source fetched live on 2026-07-26: the merged Fetch Standard text (navigation TAO check; append-to-values-list; the request/response values-list bookkeeping), the merged whatwg/html PR #12513 exposure conditional (same-origin chain, or client-null-or-not-no-referrer plus navigation TAO success), Navigation Timing's redirectStart/redirectEnd getter steps (0 when redirect count is 0), and the Chromium runtime feature NavigationTimingRedirectTimingViaTAO (stable; its comment independently corroborates the no-referrer exclusion). Both spec PRs are MERGED, so the page documents normative text, not proposal text; listing status (Enabled by default), detail status ('Proposed', desktop 151), and ship stage are kept separate. |
| milestone-mapping | 5/5 | info | Feature id 5078310347472896 appears in the v151 milestone listing under 'Enabled by default'; the route slug derives from the listing name per the documented slug rule; the H1 is the listing name verbatim. |
| completeness | 5/5 | info | Exact surface inventory after independent review: one protocol element (Timing-Allow-Origin on navigation redirect responses), three PerformanceNavigationTiming attributes, and the internal fetch machinery — request/response navigation timing allow values list, the append algorithm (decode/split; missing header → empty list), the final-response clone, and the navigation TAO check (wildcard succeeds regardless of credentials and need not be sole member). Overview links all six stable routes; each page covers all nine dimensions. reference-contract.json maps 18 sources and 8 inventory items across 6 documentation targets; deliberately partial pending independent review. |
| explanation-quality | 5/5 | info | The overview explains the backward-vs-forward opt-in distinction (subresource TAO opts in the requester; navigation needs the destination's consent) and the all-or-nothing chain rule with the zero-is-ambiguous measurement guidance. The no-referrer exclusion is documented from the normative conditional, not inferred. |
| examples | 5/5 | info | Overview embeds the identity-verified showcase redirect-chain-demo (200, same chromestatus id); snippet guards on redirectCount > 0 before using the time fields (the documented ambiguity contract). The header page gives a complete two-hop 302 chain example showing both the per-redirect headers and the resulting redirectCount. |
| browser-compat-fallbacks | 5/5 | info | BCD has no entry for the opt-in (checked 2026-07-26), so feature tables are interim-from-ChromeStatus and labelled as such, while the general-property BCD entries (PerformanceNavigationTiming.json, Timing-Allow-Origin.json) are linked separately and explicitly not conflated with the feature. Vendor signals cite the ChromeStatus API feature record; Safari's 'Positive' is framed as a recorded signal, not an official position. |
| links-validity | 5/5 | info | Direct primary-source link contract: fetch spec anchors (#navigation-tao-check, #request-navigation-timing-allow-values-list, #append-...), html spec #create-the-navigation-timing-entry, both merged PRs, navtiming interface + redirectcount anchors, runtime_enabled_features.json5, both BCD files, ChromeStatus page + API record, webstatus query, navigation-timing issue #215, WebPerfWG minutes, MDN general redirectCount (labelled as not covering the opt-in), and the showcase routes — each named source separately linked, target=_blank rel=noopener, zero plain-text labels. |
| 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; descriptive iframe title; <wbr> hints in long H1s so mobile wrapping breaks at word boundaries. |
| responsive-ux | 5/5 | info | First-column width hints (32%/7.5rem) plus compat-table column min-widths applied from the start (the cycle-8 mobile lessons); MCP matrix at 1280x800 and 390x844 verifies no document overflow on all seven routes; wide pre blocks scroll internally by design. |
| showcase-demo-relationship | 5/5 | info | Iframe src is the feature's own stable showcase route (redirect-chain-demo), identity-matched to chromestatus id 5078310347472896 and HEAD-verified 200 alongside the timing-api-probe sibling (linked in See also). No repointing, no forked platform assertions. |
modern-web-guidance consulted
- HTTP protocol header reference page with request response examples and timing attribute reference responsive tables — Measure and report timing without implying unsupported precision; keep performance guidance aligned with what the platform actually exposes. (Applied: the pages repeatedly mark zero-valued redirect fields as 'not exposed' rather than 'zero cost', and the example guards on redirectCount before computing durations.)
- readable API reference documentation page with method syntax IDL 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 (HTTP examples included), th scope attributes, escaped snippets.)
- readable API reference documentation page with method syntax IDL code blocks and live embedded demo iframe responsive on mobile — Semantic structure (single h1, ordered headings, labelled tables) and descriptive titles for embedded frames. (Applied across all seven 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, first-column and Support-column min-widths, <wbr> hints in long H1s.)
open questions
- Rev 2 reflects independent review of a647881: exact exposure conditional corrected (same-origin chains always expose; no-referrer gate only with cross-origin redirects; EVERY hop incl. same-origin must opt in once any cross-origin redirect exists); internal state/algorithms added to the inventory with their own pages; cpsFeature.conformanceRoute fixed to the feature-level route (concept route 404'd); compat corrected (desktop/Android/WebView 151; redirectStart/End BCD from PerformanceResourceTiming.json; webstatus framed as broader Baseline Navigation timing); Chromium .cc + WPT redirect-tao.html sources added with executable assertions.
- Runtime follow-up verified end-to-end on 2026-10-08 in headless Chrome 154.0.8037.97 with real HTTP iframe navigation across two local origins (127.0.0.1:43821 destination, :43822 redirector): two 302 hops both sending Timing-Allow-Origin for the destination yielded redirectCount=2, redirectStart=4.7ms, redirectEnd=11.3ms. With the first of two hops withholding the header, all three were zero; with one opted-in hop and iframe referrerPolicy=no-referrer, all three were zero. Exact probe: timeout -k 30 85 deno run --allow-all /tmp/a5-redirect-browser.mjs against /tmp/a5-redirect-server.mjs, output /tmp/a5-redirect.log and screenshots /tmp/a5-redirect-before.png and /tmp/a5-redirect-after.png. Timings are observed values, not thresholds; this probe does not cover every possible chain topology.
- BCD has no entry for the opt-in and webstatus.dev has no feature; when either lands, replace the interim ChromeStatus compat tables with repository-backed data.
- The HTML spec anchor for the exposure conditional is cited via the merged PR #12513 plus the #create-the-navigation-timing-entry algorithm; if a stable section anchor for the caller conditional emerges, deep-link it.
follow-up goals
- [medium · targeted-fix] When a Chrome 151+ build is available, execute the runtime contract end-to-end (opted-in chain exposes all three fields; one withheld opt-in or a no-referrer navigation keeps them zero) and record the evidence.
- [medium · targeted-fix] When BCD or webstatus.dev gains an entry for the cross-origin redirect timing opt-in, replace the interim compatibility tables with repository-backed data.