← v150/speculative-load-measurement · conformance
critique · rev 1
v150/speculative-load-measurement
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 5/5 | info | The public surface is resolved from TWO independent current sources that agree: the WICG explainer (the origin trial's own documentation, exposing performance.getSpeculations() returning { preconnects, preloads, navigations, navigationDestinationURL }) and Chromium main's IDL (performance.idl L81–83: [Exposed=Window, RuntimeEnabled=SpeculationMeasurement] SpeculationData getSpeculations(); plus speculation_data.idl, speculation_navigation_data.idl with the prefetch/prerender/prerender-until-script and conservative/moderate/eager/immediate enums, preload_data.idl with CrossOriginMode none/anonymous/use-credentials, preconnect_data.idl). The chromestatus summary's getSpeculations() vs the OT metadata's performance.speculations divergence is documented, not merged. The explainer records an earlier property-shaped dismissal-event iteration, but that does not prove the stale performance.speculations wording came from that exact iteration; the page now labels that relationship as inference rather than fact. Chromium IDL declarations are reproduced directly, and member descriptions separate explainer semantics from implementation binding evidence; navigationDestinationURL is explicitly provisional because the explainer both describes it and retains a TODO about finalizing its exposure shape. Availability provenanced to the direct chromestatus API (updated 2026-06-05 09:47 UTC): OT desktop 150–155 (stage intent 3 = INTENT_ORIGIN_TRIAL, resolved from core_enums.py), origin_trial_id 2748884622556266497, third-party tokens allowed, docs = explainer, feedback = WICG issues; ship estimate unset, status 'Proposed'; spec_link None. |
| milestone-mapping | 5/5 | info | Feature id 5118840377835520 appears in features_by_type for milestone=150 ('Origin trial') — listing position authoritative per invariant #2, re-verified 2026-07-24. Slug 'speculative-load-measurement' derived from the LISTING name via the server slugify. |
| completeness | 5/5 | info | 7 h2 sections: at a glance, Syntax (current Chromium implementation IDL for all five files + per-member proposal table), Proposal/implementation/stale-name divergence, Examples (live embed + the explainer's canonical pagehide pattern), Browser compatibility (interim non-BCD with the direct api/Performance.json check), Specifications (explainer + the WHATWG references it measures), See also. |
| explanation-quality | 5/5 | info | The page leads with the measurement problem (used vs unused speculation), labels proposal/OT status and instability prominently in both the banner and the warn-block, and gives readers a precise map of the metadata divergence so nobody copies performance.speculations from the trial page and gets undefined. |
| examples | 5/5 | info | Live showcase concept embedded (speculation-inspector, HEAD-checked 200 with unused-preload-auditor, pagehide-beacon, speculation-rules-lab; all three linked in See also). Embed exercised in chrome-devtools-mcp: iframe loaded after scroll (network 200); clicking 'Call performance.getSpeculations()' produced the honest live-region fallback ('not available in this browser… no fabricated result') with the documented shape clearly labelled 'reference — not a live result'. Companion snippet is the explainer's canonical example (pagehide + keepalive POST), cited as such — not presented as shipped-spec material. |
| browser-compat-fallbacks | 5/5 | info | No webstatus.dev entry (queried: total 0); MDN exact check: Performance/getSpeculations and SpeculationData both 404, searches return only the generic 'Speculative loading' guide (which does not cover this API); BCD checked directly in api/Performance.json — neither getSpeculations nor speculations keys present. Page says so and labels the table 'interim — from ChromeStatus, not BCD'. Edge 'Not separately reported'; Firefox/Safari 'No signal' as recorded (enum 5, resolved from core_enums.py). |
| links-validity | 5/5 | info | All outbound links fetched during research (explainer 200, five Chromium IDL files via gitiles, OT registration page, WICG issues, intent thread URL from the OT stage, two WHATWG anchors, 4 showcase routes all 200). All target=_blank links carry rel=noopener (suite assertion external-links-rel-safe: pass). Zero empty anchors (suite: pass). Canonical chromestatus.com/feature/5118840377835520 identity link present (suite: pass). |
| accessibility | 5/5 | info | Single <main>, single <h1>, heading order h1→h2 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/speculative-load-measurement (suite demo-embed-own-feature: pass). Suite cpsFeature references the CPS conformance contract at /v150/speculative-load-measurement/speculation-inspector/conformance rather than forking platform assertions. |
modern-web-guidance consulted
- responsive performance API reference page with data-shape tables and origin trial setup instructions — 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 despite 33-char identifiers like SpeculationMeasurement and the 19-digit origin-trial id), baseline chips flex-wrap, 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 — Speculation Inspector (Speculative load measurement)', 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
- This is an explainer-stage proposal whose surface has already changed once (the rejected performance.speculations property form). When the WICG explainer changes, a spec link appears on ChromeStatus, or the OT ends (after Chrome 155), re-derive the Syntax section from the then-current explainer + Chromium IDL and re-check whether the metadata divergence has been cleaned up.
- If Firefox/Safari ever record positions (currently No signal), or BCD/MDN gain entries (neither has any as of 2026-07-24), refresh the banner and the interim compat table.
follow-up goals
- [medium · targeted-fix] When the SpeculationMeasurement origin trial ends (after Chrome 155), the WICG explainer changes shape, or a published spec link appears, refresh this page's surface section and availability claims from the then-current explainer + Chromium IDL + direct chromestatus API.