macOS: Special Error Pages Rebranding UX - #2860
Conversation
There was a problem hiding this comment.
Stale comment
Injected PR Evaluation: Web Compatibility & Security
PR: #2860 — macOS: Special Error Pages Rebranding UX
Scope: 4 files changed —special-pages/only (1 CSS module, 3 static SVG icons). Noinjected/,messaging/, or runtime API override changes.
Web Compatibility Assessment
File Lines Severity Finding (all) — info No changes to injected content-scope features. This PR does not touch browser API overrides, prototype patches, or third-party page interaction. special-pages/pages/special-error/app/components/App.module.css52 info macOS-only cosmetic change: border-radiusfromvar(--sp-4)tovar(--sp-6)under[data-platform-name="macos"]. No viewport, layout, or cross-platform DOM manipulation.special-pages/shared/assets/img/icons/*.svgall info Static SVG asset rebranding referenced as CSS background-imageinWarning.module.css. No JavaScript execution, no page-derived content, no impact on third-party sites.No warnings or errors identified.
Security Assessment
File Lines Severity Finding (all) — info No changes to captured-globals.js, message bridge, messaging transports,postMessage, or config gating.special-pages/shared/assets/img/icons/*.svgall info Updated SVGs contain only static <path>elements with hardcodedfillcolors. No<script>, event handlers,foreignObject, or externalxlink:hrefreferences.(all) — info Special error pages are first-party embedded UIs with native messaging; they are not injected into hostile third-party page contexts. No warnings, errors, or critical findings identified.
Risk Level
Low Risk — Visual-only special-pages changes (CSS border-radius + static SVG icons) with zero injected runtime surface area.
Recommendations
- No action required for web compatibility or security from an injected-code perspective.
- (info) PR title references "metrics" but the diff contains only UX/visual assets — consider aligning the title/description with actual scope for reviewer clarity.
- (optional) Run special-error screenshot/integration tests if available to confirm the rebranded icons render correctly on macOS at the new border radius.
Sent by Cursor Automation: Web compat and sec
[Beta] Generated file diffTime updated: Mon, 13 Jul 2026 20:56:23 GMT Removed Files
❌ File only exists in old changeset Apple
File has changed IntegrationFile has changed Windows
File has changed New Files
❌ File only exists in new changeset |
Dismissing stale approval — new commits pushed, awaiting Cursor re-review.
There was a problem hiding this comment.
Stale comment
Injected PR Evaluation: Web Compatibility & Security
Re-assessed on synchronize (
d3994f09). Scope unchanged: 22 files, all underspecial-pages/— noinjected/,messaging/, or runtime JavaScript changes.
Web Compatibility Assessment
File Lines Severity Finding (none) — — No web compatibility concerns. Changes are confined to first-party special error page styling and static assets. This code does not inject into third-party pages and does not override browser APIs. special-pages/pages/special-error/app/components/App.module.css52 info macOS-only border-radiuschange (--sp-4→--sp-6) inside[data-platform-name="macos"]. Scoped to the embedded error-page container; no impact on third-party site layout or responsive behavior.special-pages/shared/assets/img/icons/*.svgall info Rebranded static SVG icons (path/fill updates only). Referenced as CSS background-imageinWarning.module.css— no inline SVG DOM, no scripting surface. Screenshot baselines updated accordingly.
Security Assessment
File Lines Severity Finding (none) — — No security concerns. No messaging, bridge, config, or network code touched. special-pages/shared/assets/img/icons/Malware-Site-96.svg,Malware-Site-128.svg,Shield-Alert-96.svgall info SVGs contain only <path>elements with staticfillcolors. Verified: no<script>, event handlers,foreignObject,xlink:href, or external resource references. Safe for use as bundled static assets.PR title ("Rebranding Metrics") — info Title references metrics, but the diff contains no analytics, telemetry, or notify()calls. Visual-only change; no data-exfiltration surface introduced.
Risk Level
Low Risk — Cosmetic rebranding of a first-party embedded page (CSS border-radius + static SVG icons + screenshot baselines). Zero changes to injected content-scope features, API shims, messaging transports, or captured globals.
Recommendations
No action required for web compatibility or security.
Optional (non-blocking):
- Consider aligning the PR title with the actual diff scope (visual rebranding only) to avoid confusion during review.
- Verify macOS visual QA on-device — the
border-radiusand icon palette changes are intentional design updates reflected in updated Playwright screenshots.Sent by Cursor Automation: Web compat and sec
Build Branch
Static preview entry points
QR codes (mobile preview)
Integration commandsnpm (Android / Extension): Swift Package Manager (Apple): .package(url: "https://github.com/duckduckgo/content-scope-scripts.git", branch: "pr-releases/lantean/rebranding-metrics")git submodule (Windows): git -C submodules/content-scope-scripts fetch origin pr-releases/lantean/rebranding-metrics
git -C submodules/content-scope-scripts checkout origin/pr-releases/lantean/rebranding-metricsPin to exact commitnpm (Android / Extension): Swift Package Manager (Apple): .package(url: "https://github.com/duckduckgo/content-scope-scripts.git", revision: "a9c55c981c18a8efba21387ff95208584bf1efa5")git submodule (Windows): git -C submodules/content-scope-scripts fetch origin pr-releases/lantean/rebranding-metrics
git -C submodules/content-scope-scripts checkout a9c55c981c18a8efba21387ff95208584bf1efa5 |
There was a problem hiding this comment.
Web Compatibility Assessment
special-pages/pages/special-error/app/components/App.module.css(L52) — info: macOS-only containerborder-radiuschanged fromvar(--sp-4)tovar(--sp-6). Cosmetic layout change scoped to[data-platform-name="macos"]. No third-party page impact.special-pages/shared/assets/img/icons/Malware-Site-{96,128}.svg,Shield-Alert-96.svg— info: Rebranded static SVG icons (path fills only). Referenced as CSSbackground-imageinWarning.module.css; no runtime DOM injection or API interaction.special-pages/pages/special-error/integration-tests/.../*.png(18 files) — info: Screenshot baseline updates reflecting icon and border-radius changes. Expected test maintenance; no runtime behavior change.
No changes under injected/, messaging/, wrapper-utils.js, or platform entry points. This PR does not touch browser API overrides, prototype chains, or third-party script interaction.
Security Assessment
- Scope — info: All changes are confined to
special-pages/(first-party embedded error pages). Code is not injected into arbitrary third-party web pages. Malware-Site-{96,128}.svg,Shield-Alert-96.svg— info: SVGs contain only<path>elements with staticfillattributes. No<script>, event handlers,foreignObject, externalhref/xlink:href, or dynamic content. Loaded via CSSbackground-image, not inline from page-controlled input.- Messaging / trust boundary — info: No changes to
notify/requestschemas, message bridge,nativeDatahandling, or origin validation. - Global capture / API shims — info: No changes to
captured-globals.js,DDGProxy, or exemption logic.
No security findings.
Risk Level
Low Risk — Visual-only special-pages rebranding (CSS token, static SVG assets, screenshot baselines) with zero injected-runtime or messaging surface changes.
Recommendations
- None required for web compatibility or security.
- Optional (info): PR title references "metrics" but the diff is visual-only; consider aligning title/description with actual scope if metrics land in a follow-up PR.
- Optional (info): Icon changes affect all platforms via shared assets in
Warning.module.css; screenshot updates across iOS/Windows are expected and correctly included.
Sent by Cursor Automation: Web compat and sec
Dismissing stale approval — new commits pushed, awaiting Cursor re-review.


Asana Task/Github Issue:
https://app.asana.com/1/137249556945/project/72649045549333/task/1216050073824226?focus=true
Description
This PR updates the Special Error Pages, so that we match the latest Figma mockups:
Testing Steps
Checklist
Please tick all that apply:
Note
Low Risk
Cosmetic CSS and static SVG swaps on user-visible error pages; no logic or security behavior changes.
Overview
Aligns Special Error Pages with the latest Figma mocks for macOS rebranding.
On macOS, the error dialog container corner radius increases from
--sp-4to--sp-6(24pt) inApp.module.css.Warning illustrations are replaced in place (same filenames, used by
Warning.module.cssfor SSL vs phishing/malware/scam):Malware-Site-96.svgandMalware-Site-128.svg: old gray browser + red alert artwork → new purple malware-themed artwork.Shield-Alert-96.svg: old shield graphic → updated shield with red alert badge styling.No routing, copy, or behavior changes—visual assets and one CSS token only.
Reviewed by Cursor Bugbot for commit e0490fe. Bugbot is set up for automated code reviews on this repo. Configure here.