[object Object]

← back to Agentabrams Viewer

5x sweep 2: add data-URI favicon (Chrome's auto /favicon.ico request 404'd -> console error in E2E)

15161bc4d09439f50e486bbf3d8ddd7a43ff17d0 · 2026-07-22 19:33:46 -0700 · Steve Abrams

Files touched

Diff

commit 15161bc4d09439f50e486bbf3d8ddd7a43ff17d0
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Wed Jul 22 19:33:46 2026 -0700

    5x sweep 2: add data-URI favicon (Chrome's auto /favicon.ico request 404'd -> console error in E2E)
---
 5x/sweep-2.md     | 10 ++++++++++
 public/index.html |  1 +
 2 files changed, 11 insertions(+)

diff --git a/5x/sweep-2.md b/5x/sweep-2.md
new file mode 100644
index 0000000..19fd2a1
--- /dev/null
+++ b/5x/sweep-2.md
@@ -0,0 +1,10 @@
+# 5x sweep 2
+
+## Verify
+6/7 — M3 still FAIL (1 JS error), all else PASS.
+
+## Caught (root cause finally pinned)
+- Sweep 1's fix was aimed at the wrong error class (no-progress guard fired). Exact M3 repro (system Chrome via executablePath, not bundled Chromium) surfaced the real error: "Failed to load resource: 404" = Chrome's automatic /favicon.ico request — no favicon existed. The 3x favicon filter only matches the error TEXT, which doesn't say "favicon", so it counts as a defect.
+
+## Fixed
+- Added an inline SVG data-URI favicon (green "a" tile) to index.html <head>. Chrome no longer requests /favicon.ico at all → no 404, no console error. (Sweep-1's fetch error handling stays — it's correct hardening regardless.)
diff --git a/public/index.html b/public/index.html
index 46d6553..fb83de1 100644
--- a/public/index.html
+++ b/public/index.html
@@ -3,6 +3,7 @@
 <head>
 <meta charset="utf-8">
 <title>agentabrams.com — Domain Viewer</title>
+<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect width='16' height='16' rx='3' fill='%2328412f'/%3E%3Ctext x='8' y='12' text-anchor='middle' font-family='Georgia,serif' font-size='11' fill='%23f7f1e6'%3Ea%3C/text%3E%3C/svg%3E">
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <style>
   :root { --rail: 300px; --bg:#0e1116; --panel:#161b22; --line:#2b313b; --txt:#dfe6ee; --dim:#8b95a3; --accent:#3fb6a8; }

← b807e6b 5x sweep 1: handle aborted/failed api fetches in boot IIFE (  ·  back to Agentabrams Viewer  ·  5x sweeps 3-4 clean: REPORT — 7/7 stable, stop on clean-twic 2dbe2c3 →