S044: engine seam closed; ViewId and neutral payload types moved to S045 (D-041)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
parent
5c88d172fe
commit
70ec8ed3cb
2 changed files with 17 additions and 8 deletions
|
|
@ -44,3 +44,4 @@
|
|||
- D-038 — 2026-11-13 — Profile folder `nacre-servo` → `nacre-browser` (config, data, cache): on first start, if `nacre-browser` is missing and `nacre-servo` exists, it is renamed (one move, logged); Servo-only engine files inside are deleted after the move. `~/.config/nacre` belongs to the Python Nacre and is never touched (the importer reads it). — engine name out of the path; `nacre` is taken by the original — S051
|
||||
- D-039 — 2026-11-13 — Media on WebKit: Nacre's page-script media probe (`inject.rs` `media.*`, mediaSession hook) stays the one source for the new tab card, Discord and MPRIS; WebKit's `is-playing-audio` and `set_is_muted` replace the mute script. If WebKitGTK publishes its own MPRIS player it is not left as a second player (turned off or Nacre's skipped, whichever the plan finds possible; one player only). — one engine-neutral source already feeds three features — S051, S013
|
||||
- D-040 — 2026-11-13 — WebKit tuning defaults (D-032 data, `docs/engine/tune/`): page cache off, memory pressure limit 500 MB per web process, cache model `DocumentViewer`, hardware acceleration policy default (on demand; `never` broke JS checks), related views only for pop-ups. Env overrides for tests (`NACRE_WK_PAGE_CACHE`, `NACRE_WK_MEM_LIMIT`, `NACRE_WK_CACHE_MODEL`, `NACRE_WK_HW`). — lowest PSS/VRAM in the tune runs without failed sites — S052
|
||||
- D-041 — 2026-11-13 — S044 boxes 3–5 (Nacre `ViewId`, engine-neutral `Event` payload types, selftest on them) move to S045 and are defined directly on WebKit; S044 closes with the privacy/policy move. — converting 56 Servo payload uses and 14 `WebViewId` sites now would only add Servo adapters that S045/S048 delete — orchestrator, 2026-11-13 — S044, S045
|
||||
|
|
|
|||
|
|
@ -350,6 +350,12 @@ Later: S010 list: user checks the Discord icon with their own client (the Discor
|
|||
- Plans `08 WebKit engine` S044–S055 written, in INDEX before the other open plans, tracker seeded.
|
||||
- Not proven: GPU/dmabuf path and 60 fps under the overlay (needs a visible run), Web Inspector, full screen, file chooser, HiDPI.
|
||||
|
||||
## S044 — Engine seam: privacy rules and request policy out of hub.rs (2026-11-13)
|
||||
- Done: `src/net/privacy.rs` (privacy headers, tracking strip, Firefox-style language list + tests), `src/net/policy.rs` (`HubConfig`, `Request`, `Outcome`, pure `decide()` + 4 tests); `Hub::decide` is a thin Servo adapter (`Outcome`, since `Decision` is taken by `store::permissions`).
|
||||
- Kept in `hub.rs`: the third-party/site test and header-append test (they test vendored servo-net; WebKit's cookie policy replaces them).
|
||||
- Verified: release build green, `cargo test` 74 green (was 70), smokes launch, basics, input, net-adblock, net-privacy exit 0 (hidden, Servo).
|
||||
- Not done here: boxes 3–5 (ViewId, neutral payload types, selftest) moved to S045 (D-041).
|
||||
|
||||
## Later
|
||||
- Turnstile widget paints as a black half-disc (Servo painting of its iframe/shadow DOM, S006 site doctor).
|
||||
- Google sign-in past the email step: press Next with a real account, by the user (S006).
|
||||
|
|
|
|||
Loading…
Reference in a new issue