← v157/expose-progressevent-in-service-workers · conformance

critique · rev 1

v157/expose-progressevent-in-service-workers

reviewed 2026-11-15 by gendn weekly hardening leaf writer (self-review; independent integrator review pending)

rubric

dimensionscoreseverityevidence
factual-source-fidelity5/5infoIDL verbatim from xhr.spec.whatwg.org #interface-progressevent; Blink exposure from progress_event.idl at main (base64 from gitiles); ProgressEventInServiceWorker status stable from runtime_enabled_features.json5; CL 8425503 MERGED 2026-10-13 (#1717288) via Gerrit REST; chromiumdash fetch_commit earliest 157.0.8103.0; ServiceWorkerGlobalScope Global=(Worker,ServiceWorker) from the SW spec, Firefox 140 and WebKit-7614 IDL. Every behavioural claim (TypeError on missing type / non-object init / NaN / Infinity, negative accepted, DataCloneError on structuredClone, strict-mode assignment TypeError, XMLHttpRequest still undefined in SW) runtime-verified in headless Chrome 153.0.8010.12, 157.0.8103.78 and 158.0.8127.18.
milestone-mapping5/5infoFeature id 5069584943153152 is in the live milestone=157 listing under 'Enabled by default'; slug derived from the listing name 'Expose ProgressEvent in service workers'; commit first landed in 157.0.8103.0 per Chromium Dash (157 branch point #1717349 > commit #1717288).
completeness5/5inforeference-contract.json claims implementation-sufficient over 6 inventory items (service-worker exposure, constructor, ProgressEventInit, lengthComputable, loaded, total) x 9 dimensions; attribute getter errors are not-applicable with a spec rationale (getter steps only return the initialized value). The whole IDL is documented locally, so readers do not need MDN.
explanation-quality4/5infoThe page separates what changes (global binding) from what does not (no XHR, no automatic fetch progress events, events not serializable), covers Finch kill-switch semantics and polyfill-collision risk from the ChromeStatus compat notes, and explains the Content-Length vs decoded-bytes mismatch for compressed responses.
examples5/5infoThe sw.js + page.html download-relay pair was run with the same logic in headless Chrome 153 (fallback path, native=false) and 157.0.8103.78 (native ProgressEvent), 400 kB body, progress+loadend received, 0 page errors (scratch test rt/ex). Constructor and feature-detection snippets are also included, and the showcase scope-probe concept iframe was confirmed to render.
browser-compat-fallbacks5/5infoTwo tables: (1) SW exposure per browser with evidence and explicit unknowns (Edge unknown, Firefox/Safari first version unknown, Android/WebView from ChromeStatus not device-tested); (2) BCD raw api/ProgressEvent.json interface/member versions. The page notes that BCD worker_support still marks Chrome partial and records engine differences in loaded/total typing (double vs unsigned long long).
links-validity5/5infoSpec anchors confirmed present by grepping the fetched specs (#security-considerations, #suggested-names..., #concept-event-fire-progress, DOM #concept-event-constructor/#dictdef-eventinit/#dispatching-events, SW #serviceworkerglobalscope-interface). Intent links are resolved from ChromeStatus msgid redirects to canonical Google Groups threads. Showcase feature and 3 concept routes returned HTTP 200 on 2026-11-15. All external links use target=_blank rel=noopener.
accessibility5/5infoSingle h1; id-anchored h2/h3; captioned tables with thead/scope; scrollable table wraps are keyboard-focusable role=region named via aria-labelledby with a visible focus outline; iframe has a descriptive title; Baseline banner role=note; only CSS variables are used (no raw hex).
responsive-ux5/5infoPlaywright headless Chrome at 1280x800 and 360x740 DPR3 (isMobile+touch): scrollWidth equals clientWidth (1280/360), 0 console errors, 0 failed requests, and the chromestatus link is present. Screenshots read: scratchpad/shots/{desktop,mobile}-{top,examples,compatibility}.png. The SW compat table was adjusted to wrap on mobile after the first screenshot showed the evidence column clipped inside its scroller.
showcase-demo-relationship5/5infoThe page embeds the own-feature concept route /v157/expose-progressevent-in-service-workers/scope-probe/ (HTTP 200, carries chromestatus 5069584943153152); the iframe rendered the Global-scope probe at both viewports. Sibling concepts scope-matrix and download-relay are linked. Note: the showcase index says the [Exposed] list was historically (Window,DedicatedWorker,SharedWorker); that describes Blink's IDL, while the spec has always said (Window,Worker). gendn states the spec form.

modern-web-guidance consulted

open questions

follow-up goals