Commit graph Nacre/src/engine
Author SHA1 Message Date
e12d9ee9af S050 (WIP): Google UA quirk past WebKit's site quirks, navigation policy only for the tab's own loads, DocumentBrowser cache model (D-040), privacy-mode on WebKit
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-13 19:42:07 -06:00
f63ddf8da1 S050 (WIP): WebKit through the bridge over SOCKS5, navigation policy, certificate warning, downloads, cookie policy
- Bridge speaks SOCKS5 on its port; WebKit uses it (plain http through the HTTP proxy lost the login and looped);
  loopback skips the proxy.
- decide-policy: HTTPS-only upgrade with redirect guard, tracking strip, Content-Disposition downloads; Images
  permission as a WebKit content filter (net::policy::images_filter).
- load-failed-with-tls-errors -> Nacre's certificate page (assets/pages/badcert.html), "Open anyway" via
  nacre://allowcert for that tab only.
- download-started: web links to Nacre's downloader, blob:/data: saved by WebKit and tracked in the downloads list.
- Third-party cookies: NoThirdParty + ITP; privacy mode Accept-Language through the extension.
- selftest js/assert/save wait for the page's answer (unanswered asserts used to pass).
- Smokes: net-privacy (+localhost, TLS, images), net-downloads (+<a download>, blob:), privacy-net on https.
Open: main-frame detection for navigations, Google UA quirk, privacy-mode/cache smokes (see plan "Resume").

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-13 15:27:36 -06:00
bb1c1a5ed7 S049 (WIP): ad blocker in WebKit content filters, web process extension for headers, stand-ins and blocked counts
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-13 14:33:18 -06:00
72709e07b9 S048: WebKit UI callbacks: pop-ups, dialogs, context menu, permissions, full screen, Web Inspector, PiP
- Pop-ups as related-view tabs; a blocked one's URL opens on "Allow"
- Closing a tab runs beforeunload (try_close, 3 s fallback); HTTP sign-in checked
- egui takes the pointer over the page while a dialog or menu is open; colour picker closes on Escape/outside
- Permission reasons recomputed for WebKit; media stream/WebRTC on; saved notification answers given to WebKit
- Notifications no longer dropped after a non-remembered allow
- F12 opens Web Inspector; nacre://devtools lists tabs and remote inspection (D-046); console/network page removed
- PiP moves the tab's own view into the PiP window and back (no reload)
- Smokes: dialogs, basics extended; pip.txt, auth.txt (server /auth), visible-ui.txt

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-13 08:03:51 -06:00
ffc22e911f S047: page scripts, user style sheets, find and JS on WebKit
User styles become WebKit user style sheets (script fallback for patterns
WebKit can't express), the nacre message handler is registered before the
view exists, find runs on FindController, and the Servo-only shims are gone
from inject.rs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-13 07:20:17 -06:00
b7d1dbcc2f S046: smoke harness in a hidden nested niri, real selftest input, local media in the sandbox
- tools/nested-session.sh (Xvfb -> nested niri, own display/runtime dir, xresize for SMOKE_SIZE); smoke.sh and
  hidden.sh run in it; wl-input moved to tools/wl-input (own crate)
- selftest: click/rclick/pagescroll via wl-input, pagetype via wtype, resize via the nested niri
- WebKit sandbox: XDG user dirs (+ test pages in scripted runs) read-only so file:// media plays (D-043)
- SMOKE_VISIBLE needs the user's niri window rule, never moves focus (D-044)
- launch, basics, input, keys, chrome green hidden

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-13 06:14:17 -06:00
bff018bcfc S045 (WIP): hidden harness, repaint/zoom/placement fixes; box 10 YouTube click open
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-13 03:42:37 -06:00
6c748ba7b0 S045: GTK4 host with WebKitGTK views, egui overlay, engine module; Servo and winit removed
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-13 02:39:02 -06:00