From 340c034be584343c5b86676dcb3e8b1152e5f93c Mon Sep 17 00:00:00 2001 From: astar76 Date: Sat, 14 Nov 2026 08:13:11 -0600 Subject: [PATCH] S051: profile folder nacre-browser, cookies sealed from WebKit's tmpfs store, site data, tab audio and mute on WebKit - paths: one-time move from nacre-servo, Servo engine files deleted - store::cookies: libsoup SQLite on tmpfs, sealed 60 s after a change and at quit - clear data time range, site info cookie/data count, media-audio and site-data smokes - D-047: details and MPRIS outcome (WebKit's own player, Nacre none) Co-Authored-By: Claude Opus 5.5 --- CLAUDE.md | 1 + .../S051-profile-cookies-media.md | 6 ++-- Plans/INDEX.md | 2 +- docs/DECISIONS.md | 1 + docs/DESIGN.md | 30 ++++++++++++++----- docs/PROGRESS.md | 10 +++++++ docs/STATUS.md | 5 ++-- src/store/cookies.rs | 17 +++++++++++ tests/smoke/privacy-incognito.txt | 2 +- 9 files changed, 58 insertions(+), 16 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index a3f6604..1c1847d 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -75,6 +75,7 @@ Never modify: `~/Documents/Apps/Nacre` (the original Python Nacre, reference onl | `tools/smoke.sh tests/smoke/privacy-mode.txt` (+ `SMOKE_ARGS=--incognito … privacy-incognito.txt`) | privacy mode: `pages/fingerprint.html` read off/on, `fp-off.json`/`fp-on.json` + shots (offline); `privacy-net.txt` (needs `tests/smoke/net/server.py`) frame cookies, per-site pause, Accept-Language; `SMOKE_TIMEOUT=700 … coveryourtracks.txt` EFF's test off/on (internet, direct). Selftest `save ` writes a JS string result to `.json`; `SMOKE_ARGS` passes browser arguments | now (S024) | | `python tools/icons.py` | rebuilds the icon font subset and `src/ui/icons.rs` from `tools/icons.txt` (needs fontTools and Arch's ttf-material-symbols-variable) | now (S015) | | `tools/engine-test/run.sh chromium\|webkit` + `analyze.py` | engine comparison: one browser visible on DP-1, throwaway profile, sites from `sites.txt`, per-second RAM (PSS), CPU, GPU of the whole process tree into `docs/engine/runs//samples.csv`; `webkit_shell.py` is the WebKitGTK 6.0 shell (needs `webkitgtk-6.0`); report `docs/engine/engine-comparison.md`. Never run two at once or alongside cargo | now | +| `python3 tests/smoke/net/server.py &` + `tools/smoke.sh tests/smoke/site-data.txt`; `tools/smoke.sh tests/smoke/media-audio.txt` | site info cookie/data count, Clear data time range (stored data kept, cookies always whole); WebKit `is-playing-audio` → tab audible, tab mute via `set_is_muted` (`pages/sound.html`, `?element` plays `tone.ogg` with Media Session metadata; WebKit's MPRIS player shows on the run's bus: `busctl --address=unix:path=$(cat /session/runtime)/bus list`). Offline, hidden | now (S051) | | `tools/smoke.sh tests/smoke/pip.txt` (+ `tools/hidden.sh tests/smoke/pip.txt -- tests/smoke/pip-driver.sh`: `/windows.json` PiP floating), `bindings.txt` (side buttons, middle click; hidden only), `ctxmenu.txt` (site menu vs Nacre's; hidden only), `pip-return.txt` (page input after PiP and back; hidden only), selftest `pick x y` (GTK's pick at a page point + view state), `python3 tests/smoke/net/server.py &` + `SMOKE_SIZE=1280x900 tools/smoke.sh tests/smoke/auth.txt`, `tests/smoke/visible-ui.txt` (by hand, header) | PiP moves the live view and back (offline); HTTP sign-in cancel + saved login (offline); visible: portal file chooser, notification, page full screen, Web Inspector (`dialogs.txt` now also checks dialog answers, context menu, leave page, permission bars, notifications count) | now (S048, S056) | | `tools/hidden.sh