← v157/add-javascripturls-option-to-sanitizerconfig-and-sanitizer · conformance

critique · rev 1

v157/add-javascripturls-option-to-sanitizerconfig-and-sanitizer

reviewed 2026-11-01 by writer self-review; independent integrator source review pending

rubric

dimensionscoreseverityevidence
factual-source-fidelity5/5infoIDL and method steps quoted verbatim from the HTML living standard fetched 2026-11-01 (dynamic-markup-insertion multipage: SanitizerConfig member, setJavascriptURLs steps incl. the changed-state boolean return, canonicalization permissive-default step, safe-default table javascriptURLs false, removeUnsafe force-to-false steps, navigating-URL-attributes check); history from whatwg/html #12686 and merged PR #12898; Chrome state from the ChromeStatus API record (milestone 157, Finch SanitizerJavascriptURLs) and runtime_enabled_features.json5 (SanitizerAPI stable; no dedicated flag entry — stated, not guessed).
milestone-mapping5/5infoFeature id 5169798320357376 confirmed under 'Enabled by default' in the milestone=157 listing (fetched 2026-11-01); slug derived from the exact listing name per invariant #1.
completeness5/5infoThe change's whole developer-facing surface is two items — the SanitizerConfig.javascriptURLs member and Sanitizer.setJavascriptURLs() — both inventoried with nine-dimension coverage on the overview (member defaults incl. the safe-vs-permissive split, setter return semantics, sanitization-algorithm effects, removeUnsafe interaction, exposure, examples, compat, security). reference-contract.json claims implementation-sufficient with 2 items and 11 sources.
explanation-quality5/5infoThe page centres the two non-obvious contracts: the setter's boolean means changed-not-success, and an omitted member defaults permissively for unsafe methods (the migration hazard called out in security).
examples4/5minorFour call shapes covering the motivating case, dictionary form, return-value semantics and get() inspection, labelled gendn-authored; not executed locally (environment Chrome predates 157). The embedded showcase playground runs the real API and demonstrates the same contracts live.
browser-compat-fallbacks5/5infoBCD's setJavascriptURLs subfeature exists but records version_added false — the freshness gap vs the 157 listing is shown, not smoothed; host-API Baseline limited (Chrome 146/Firefox 148/no Safari) given for orientation; feature-detection snippet provided.
links-validity5/5infoAll non-GitHub links curl-verified 200 on 2026-11-01 (incl. the MDN 404 for setJavascriptURLs cited AS a 404); spec anchors verified present in the fetched multipage source; zero unlinked source labels; target=_blank rel=noopener throughout.
accessibility4/5infoSingle h1, sequential h2s, th scope on tables, thead on data tables, role=note baseline banner with aria-label, iframe title, keyboard-scrollable table wrappers (tabindex=0 role=region aria-label), design-system color variables (AA).
responsive-ux5/5infoMatrix pass 2026-11-01: Playwright headless Chromium 1280x800 + 360x740 DPR2 touch, full-page scrolled segments read; hOverflow=0 both classes, zero console errors, zero failed requests; conformance suite GREEN.
showcase-demo-relationship5/5infoEmbeds the showcase javascript-url-playground concept (HEAD 200) with the mandatory sandbox/referrerpolicy posture; three sibling concepts linked additively; the embedded demo's own banner text corroborates the page's central claim (the previously-inexpressible setHTMLUnsafe + javascriptURLs:false combination).

modern-web-guidance consulted

open questions

follow-up goals