← v152/notification-attribution-for-pwas-on-macos · conformance
critique · rev 1
v152/notification-attribution-for-pwas-on-macos
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 5/5 | info | Every behavior claim traces to the blink-dev PSA (1-_VfY1NIQs, quoted verbatim for requireInteraction/badging/MDM statements), the ChromeStatus record, or named Chromium source files (about_flags.cc flag text quoted verbatim; app_shim_controller.mm gating functions; web_app_tab_helper.cc install-state checks; permission_prompt_notifications_mac.cc result mapping). Flag name, base feature name, ad-hoc-signing prerequisite, and fieldtrial CL 8057884 all verified against live source on 2026-07-29. |
| milestone-mapping | 5/5 | info | Slug from listing name, folder from listing milestone (v152), category 'Enabled by default' — all verified against the milestone=152 listing response on 2026-07-29. Identity link chromestatus.com/feature/5863296436666368 present on all four pages. |
| completeness | 4/5 | minor | reference-contract.json declares 4 capability inventory items covering the full developer/admin-facing contract (attribution delivery + requirements + permission model; requireInteraction; badging gate; enterprise pre-grant), each mapped to all nine dimensions. syntax on the overview item is not-applicable with a sourced rationale (PSA: 'not directly web-exposed'). Honest gap: MDM payload keys for PWA shim bundle IDs are not publicly documented yet — stated on the enterprise page and in openQuestions. |
| explanation-quality | 5/5 | info | Overview builds the model (why → delivery mechanism → gating requirements → two-layer permission) before behavior contracts; each child route follows the MDN nine-dimension shape with verbatim source quotes and scoped impact statements. |
| examples | 4/5 | minor | Semantic <pre><code> snippets on every page (permission-gated badge pattern, requireInteraction fallback pattern, two-layer admin config); CPS concept route installed-attribution-inspector embedded after HEAD-200 verification (badge-permission-lab and notification-capability-lab linked as alternates). Runtime behavior not executable locally (requires macOS + installed PWA), so examples are source-derived patterns, not runtime-verified. |
| browser-compat-fallbacks | 5/5 | info | Real BCD tables for requireInteraction (api/Notification.json: Chrome 47, Edge 17, Firefox 117 partial/Windows-only+flag, Safari false) and setAppBadge (api/Navigator.json: Chrome 81 platform notes, Edge mirror, Firefox false, Safari 17 macOS Sonoma+), each annotated with the 152 macOS change labelled as interim since BCD has no attribution entry; webstatus Baseline 'limited' for both host features cited. |
| links-validity | 5/5 | info | All citation labels are direct links (zero plain-text citations): PSA thread, ChromeStatus feature + API + milestone listing, both spec anchors, five Chromium source files, CL 8057884, two BCD files, two webstatus features, two WPT directories, Chrome Enterprise policy page, CPS routes. CPS concept routes and spec anchors HEAD/grep-verified 2026-07-29. |
| accessibility | 4/5 | minor | Semantic heading hierarchy (h1 → h2 per section), scope="row" on key tables, thead on multi-row tables, role="note" + aria-label on the Baseline banner, warn-block used for the behavior-change advisories, iframe has a descriptive title. Derived from the accepted house exemplar pattern (v151/capability-elements-usermedia-mvp) rather than a fresh AT run. |
| responsive-ux | 4/5 | minor | css-layout guidance applied: wide tables inside .table-wrap{overflow-x:auto}, overflow-wrap:anywhere on h1/lede/inline code for long tokens (kAppShimNotificationAttribution, NotificationsAllowedForUrls), doc-table cell overflow-wrap:anywhere, pre{overflow-x:auto}. Screenshots at 390px and 1280px pending writer browser check on PORT=3200. |
| showcase-demo-relationship | 5/5 | info | CPS feature index lists three concept routes, all HEAD-200 on 2026-07-29; installed-attribution-inspector embedded as the primary iframe with loading="lazy", the other two linked in the caption. Feature identity (same chromestatus id) matches CPS. |
modern-web-guidance consulted
- responsive reference documentation tables without horizontal overflow — Lean on intrinsic sizing; wrap potentially-wide rows; set min-inline-size: 0 / overflow-wrap on flex items with long unbreakable content (URLs, code, long strings) so they can shrink; use overflow:auto on containers that can overflow. (All wide contract/compat tables are wrapped in .table-wrap{overflow-x:auto}; h1, .lede, and inline code carry overflow-wrap:anywhere for the long tokens this page has (kAppShimNotificationAttribution, NotificationsAllowedForUrls, INSTALLED_WITH_OS_INTEGRATION); table cells use overflow-wrap:anywhere with a fixed 30% first column + min-width guard, matching the accepted exemplar pattern.)
- legacy navigator.userAgent regex for macOS detection in a published example (notifications/requireInteraction) — Privacy guide section 6 (Fingerprinting and User-Agent Reduction): "DO use User-Agent Client Hints (UA-CH) if supported by the browser, when specific device targeting is required" and "DON'T rely on the full granularity of the traditional navigator.userAgent string". (Applied: the requireinteraction example now reads navigator.userAgentData.platform first and uses the legacy string only as an explicitly marked fallback (Baseline TODO on the non-Baseline branch). ua-client-hints is Not yet Baseline (Chrome/Edge 90, no Firefox or Safari), so the fallback is kept and its scope stated in the prose with a direct link to the spec's dom-navigatoruadata-platform anchor.)
open questions
- What are the exact MDM payload keys (and bundle-ID derivation scheme) for pre-granting notifications to a PWA app shim? The PSA mandates an MDM profile per PWA bundle ID but no public Chrome doc details the payload as of 2026-07-29; the enterprise page says so explicitly. Watch for a Chrome Enterprise release note.
- Does the dummy-notification-provider fallback (documented in app_shim_manager_mac.h when no shim is running) mean a notification posted while the PWA is closed is dropped, queued, or delivered by Chrome unattributed? The header notes a future change to launch the shim on demand; the current observable behavior is not publicly documented.
- UseNotificationAttributionForWebAppShims() definition was not located in public source during this pass (gating beyond the base::Feature — e.g. minimum macOS version — could not be confirmed); the page restricts itself to the conditions verified in web_app_tab_helper.cc and app_shim_controller.mm.
- Tracking bug 327449602 requires Google sign-in for full content; rollout-blocking details behind it are unverified (public source + CLs used instead).
follow-up goals
- [high · targeted-fix] When a Chrome Enterprise / macOS MDM doc for PWA notification pre-grants appears, document the exact configuration-profile payload keys and bundle-ID scheme on the enterprise-deployment page.
- [medium · targeted-fix] Runtime-verify the two-layer permission outcomes and the shim-not-running fallback on a macOS device with Chrome 152+ and an installed PWA (notification while app closed; OS-denied web prompt; badge gate), then refresh the relevant sections with observed evidence.
- [low · targeted-fix] Add a page tracking BCD coverage of the macOS attribution behavior (requireInteraction/setAppBadge macOS notes) once BCD records it, simplifying the interim compat annotations.