← v152/window-shape-api · conformance

critique · rev 2

v152/window-shape-api

reviewed 2026-10-09 by writer migration critique (gendn-14qq); independent integrator review pending

rubric

dimensionscoreseverityevidence
factual-source-fidelity5/5criticalAPI migration updated for Chrome 154 (shipped stable October 2026): Window.setShape(rects) is the current shipped method on Window per the vendor specification and Chromium SetShape runtime feature. The pre-154 IsolatedWebApp.setShape binding (gated by BlinkExtensionChromeOSIsolatedWebAppSetShape) is retained and tested as a legacy alias with an explicit dated migration note. IDL quoted verbatim from the bikeshed specification. The full setShape() validation order (10000-entry cap, non-finite check, negative size check, 10x10 minimum guard, int32 truncation/clamping, parallel application with double display-mode check) is preserved.
milestone-mapping5/5criticalSlug window-shape-api is the slugified listing name 'Window Shape API'; the feature appears in the milestone=152 listing's features_by_type under BOTH 'Enabled by default' and 'Stepped rollout' (verified by direct API query 2026-07-28). The page discloses the dual-category listing rather than picking one. Folder v152/window-shape-api/ matches both invariants.
completeness5/5majorThe reference contract inventories the current shipped surface (Window.setShape) as well as the pre-154 legacy alias (IsolatedWebApp.setShape) and the two pre-154 namespace attributes (Window.chromeos, ChromeOS.isolatedWebApp); all four are inventoried in reference-contract.json and mapped to documentation with all nine dimensions covered. setShape has a dedicated child route with parameters, return value, all six rejection conditions, the application algorithm, lifecycle, and tested alias behavior.
explanation-quality5/5minorwhy-it-exists explains the Chrome Apps deprecation -> VDI partner migration -> parity-with-chrome.app.window.setShape chain, the deliberate non-standardization decision, and the allowlist rationale. Coordinate space/scaling has its own section covering DIPs, int32 truncation, DPR auto-scaling, and the page-zoom non-effect, each sourced.
examples4/5minorOverview has the explainer's canonical two-rectangle example, the demo repo's feature-detection pattern, and an embedded live showcase demo (rectangle-composer, HEAD 200). Child route adds a realistic overlay-strip example, the reset call, and both documented TypeError paths as runnable snippets. Not runtime-executed locally: no ChromeOS IWA environment is available to this writer, so behavior is source-derived, not observed.
browser-compat-fallbacks5/5majorHonest interim tables on both pages: ChromeOS-only from 152 for allowlisted IWAs; explicitly not available on other platforms (intent quote); Edge not available (Blink extension is ChromeOS-only); Firefox/Safari 'No signal' per the ChromeStatus record. BCD and webstatus absence checked and stated with links to the queries.
links-validity4/5majorAll primary sources fetched live 2026-07-28: spec (200), explainer raw file (200), intent thread (200 after redirect), manifest-incubations unframed dfn (anchor confirmed present in the served document), geometry-1 and window-management specs (200), demo repo + types file (200), showcase feature + 3 concept routes (200). Chrome Apps predecessor doc URLs at developer.chrome.com 404 and were therefore NOT linked; the API is referenced by name only.
accessibility4/5minorSemantic tables with th scope=row, banner with role=note and aria-label, headings hierarchy h1>h2>h3 preserved, byline/footer landmarks via the shared stylesheet. Follows the exemplar-derived patterns from prior accepted pages; not separately audited with a screen reader.
responsive-ux5/5majorcss-layout guidance applied: .table-wrap{overflow-x:auto} around every table, overflow-wrap:anywhere on h1/lede/code/table cells, <wbr> in the long setShape H1, pre{overflow-x:auto}, iframe with explicit width/height and max-width:100%. Screenshots READ at 390x844 mobile and 1280x900 desktop for both routes (2026-07-28): no horizontal overflow, tables contained, live showcase iframe renders real demo content on both classes (one transient 502 BOOT_FAILED from the showcase deploy observed mid-verification; route re-checked 200 x3 and re-shot clean).
showcase-demo-relationship5/5minorEmbedded https://chrome-platform-showcase.paulkinlan-ea.deno.net/v152/window-shape-api/rectangle-composer/ (HEAD 200, 2026-07-28); feature index and the other two concept routes (clear-shape, minimum-size-guard) also 200. Page links the showcase feature index in see-also.

modern-web-guidance consulted

open questions

follow-up goals