← v147/document-policy-in-dedicated-workers · conformance

critique · rev 1

v147/document-policy-in-dedicated-workers

In-place MDN-shape upgrade of the old-shape v147 page: added honest Limited-availability baseline banner (no web-features entry, dated queries), verbatim Document-Policy structured-header syntax plus the worker derivation rules, an error-handling section with a documented unknown for worker reporting, verbatim explainer examples with the live worker-feature-probe embed (all six CPS routes GET-verified 200), an interim compat table that states BCD's absence explicitly, specifications and security/privacy sections, and exact flag enable steps. Identity, route, H1, lede, warn-block and the original what-is section preserved. validate-artifacts green for this page; contract implementation-sufficient pending independent review.

reviewed 2026-10-04 by writer self-review during weekly MDN-shape upgrade; independent integrator source review pending

rubric

dimensionscoreseverityevidence
factual-source-fidelity4/5minorUpgrade re-verified against live sources 2026-10-04: WICG Document Policy draft (Document-Policy = sf-dictionary ABNF and §7.1 directive examples quoted verbatim), MSEdgeExplainers DocumentPolicyInWorkers.md (dedicated-worker semantics and security bullets quoted verbatim from the raw markdown), ChromeStatus API record (dev-trial desktop_first 147, finch name DocumentPolicyInDedicatedWorker, Firefox/Safari No signal), Chromium runtime_enabled_features.json5 (DocumentPolicyInDedicatedWorker status experimental), whatwg/html PR #12026 patch (commit subjects read from patch-diff). Minor: PR merge state and the blink-dev thread title could not be read from this environment and are labelled accordingly on-page.
milestone-mapping5/5infoPage keeps its v147 identity (feature 6242687411945472); ChromeStatus dev-trial stage records desktop_first: 147, matching the existing filing. No re-filing, route and H1 unchanged.
completeness4/5minorSurface inventoried as the Document-Policy header plus the worker policy-derivation algorithm; both mapped across all nine dimensions in reference-contract.json (implementation-sufficient). Error handling has its own #error-handling section: unknown directives ignored (spec §7.2.1), absent header falls back to spec defaults (explainer verbatim), and worker-context violation reporting recorded as a DOCUMENTED UNKNOWN (sources checked 2026-10-04) rather than invented. deno task validate-artifacts reports zero problems for this page; independent integrator source review still pending.
explanation-quality4/5infoNew syntax section states explicitly that no new header/API is added and the change is where the header is read; the three derivation rules (network response authoritative, local-scheme clone, spec-default fallback) are quoted rather than paraphrased, and the no-merge rule is called out.
examples4/5minorExplainer's header example (Document-Policy: js-profiling) and Profiler snippet quoted verbatim and labelled as such; live showcase worker-feature-probe demo embedded with four sibling concepts linked. No end-to-end page+worker response-header walkthrough yet (noted as follow-up). Examples source-derived, not executed.
browser-compat-fallbacks4/5infoBCD v8.1.4 (2026-10-01) verified to contain no Document-Policy header entry (http/headers tree + compiled data.json key scan); the page says so explicitly and labels its ChromeStatus-derived table as interim, non-BCD. BCD api/Profiler.json cited for the motivating gated API (Chrome 94, Firefox/Safari never shipped). Baseline banner says Limited availability and documents the absent web-features entry with query dates.
links-validity4/5minorEvery citation label is a direct link (spec section anchors #document-policy-http-header / #policies-as-structured-headers verified against the spec HTML ids; explainer raw fetched; PR patch URL fetched 200; all five showcase concept routes GET-verified 200 on 2026-10-04; intent msgid redirect resolved to the canonical Groups thread URL via curl 302). Minor: the DevTrial announcement Google Doc and the Groups thread were not content-read from this environment (JS-rendered), only linked.
accessibility4/5infoSingle h1, sequential h2 outline with anchor ids on every section, baseline banner role=note with aria-label, iframe title + figcaption, tables keep header cells, external links rel=noopener. Colors unchanged from the shared design system (CSS variables only).
responsive-ux4/5infoApplied the template's patterns plus fixes for tokens the template rules missed: overflow-wrap on h1/lede/eyebrow and on .warn-block/.baseline-banner code (the long --enable-blink-features=DocumentPolicyInDedicatedWorker token), .table-wrap{overflow-x:auto} around all three tables, pre overflow-x, iframe max-width:100%. Verified over CDP with real device metrics (Emulation.setDeviceMetricsOverride 360x740 DPR3 and 1280x800 via scripts/lib/cdp.mjs): scrollWidth==innerWidth on both (360/360, 1280/1280), screenshots read. Note for future waves: plain `chrome --headless --window-size=360,...` is NOT a valid mobile check — headless Chrome enforces a ~500px minimum layout width (probe: innerWidth=500 at --window-size=360), which makes any page look clipped.
showcase-demo-relationship4/5infoFive CPS concept routes plus the feature index all GET-verified 200 via curl -s -o /dev/null -w %{http_code} (not the proxy CONNECT line) on 2026-10-04; worker-feature-probe embedded (probes policy-gated feature availability inside the worker), the other four linked in the figcaption. The sandbox browser cannot complete external TLS through the agent proxy, so the iframe's in-browser render could not be confirmed here — the GET checks are the embed evidence. conformance.json originally predated the embed; td9n reconciled its demo/CPS metadata to worker-feature-probe and the verified feature-level conformance route while leaving assertions and suiteHash unchanged.

modern-web-guidance consulted

open questions

follow-up goals