Commit graph

159 commits

Author SHA1 Message Date
cc42e1bde6 orchestrator: S056 daily-use fixes from the user's first WebKit test (after S050)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 19:32:29 -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 <noreply@anthropic.com>
2026-11-13 15:27:36 -06:00
8df37bafa1 S049: ad blocker on WebKit content filters, web process extension, RAM check
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 14:34:02 -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 <noreply@anthropic.com>
2026-11-13 14:33:18 -06:00
e434bd260d S049: smoke.sh visible runs per D-045
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 08:05:16 -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 <noreply@anthropic.com>
2026-11-13 08:03:51 -06:00
e2f1fa4fdf orchestrator: D-045 visible runs may take focus
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 07:22:34 -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 <noreply@anthropic.com>
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 <noreply@anthropic.com>
2026-11-13 06:14:17 -06:00
4eeb72a25a S045: YouTube plays after a real click in the hidden run; address field lets go when a page takes focus
The hidden click landed on <html> because YouTube keeps its main thread busy ~7 s after
load and swaps its skeleton for the player meanwhile; web.txt now clicks once the point
hits #movie_player. focus_page drops egui's text focus and attaches the view first; new
foreground web tabs, tab switches and new views use it. Selftest status gets ui_typing
and page_focused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 04:18:41 -06:00
bff018bcfc S045 (WIP): hidden harness, repaint/zoom/placement fixes; box 10 YouTube click open
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 <noreply@anthropic.com>
2026-11-13 02:39:02 -06:00
02929e2f8d S044: engine seam closed; ViewId and neutral payload types moved to S045 (D-041)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 02:09:56 -06:00
043987a634 S044 (WIP): privacy rules and request policy out of hub.rs
net::privacy (headers, tracking strip, language list) and net::policy
(HubConfig, pure decide() -> Outcome) with tests; Hub::decide is a thin Servo
adapter. Build, 74 tests, smokes launch/basics/input/net-adblock/net-privacy
green. Boxes 3-4 (ViewId, neutral payload types) not done: see the plan's WIP note.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 02:09:07 -06:00
63b39d7b7e webkit-spike: hidden run result, D-035..D-040, plans 08 WebKit engine S044-S055
GTK 4 host + transparent egui GLArea over WebKitGTK proven hidden (Xvfb + nested
niri): pick fall-through, real input and IME, egui menus over video, pacing equal
with and without the overlay. Spike fixes: IM client widget, wl-input Y flip,
SPIKE_EGUI=0 layout, URL trim.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 02:01:11 -06:00
b6a5a21481 orchestrator: D-034 unattended run, hidden test sessions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 01:35:25 -06:00
c2e8a70108 orchestrator: D-033 WebKitGTK GTK4 host, no WPE
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 00:28:52 -06:00
cbc8ef20b0 orchestrator: handoff — webkit-spike WIP a29a7bf, open questions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 23:50:29 -06:00
a29a7bf52c webkit-spike (WIP): GTK4+egui overlay spike builds, wl-input helper, WIP state
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 23:50:14 -06:00
77231391db orchestrator: wrap-up handoff (usage limit), webkit-spike WIP resume notes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 23:49:53 -06:00
baa3b7f896 servo-cleanup: Servo removal inventory, drop the WPT MSE runner
docs/engine/servo-removal.md lists every Servo-dependent piece (deps, vendor
crates, src/ hooks with the WebKit replacement each needs, docs, tests/tools)
for the 08 WebKit plans. tools/wpt-mse.sh and tests/wpt-mse/ only tested
Nacre's Servo MSE and nothing else uses them. src/, Cargo.toml and vendor/
are untouched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 23:41:37 -06:00
8b11e5d10e orchestrator: D-032 switch to tuned WebKit (Linux), Servo plans struck, handoff rewritten
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 23:37:28 -06:00
aabbd00a5e engine-test: WebKit tuning runs (base, cache-viewer, mem500, no-page-cache, related, hw-never, gsk-gl partial); refshot.py (S029 WIP); S039 R5-14 caret box
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 23:36:57 -06:00
10bb7f04fb engine-test: Servo vs WebKit vs Chromium comparison (RAM, CPU, GPU, site checks)
tools/engine-test: per-second process-tree sampler (PSS, CPU, DRM fdinfo GPU),
WebKitGTK 6.0 shell, drivers for Servo Nacre and old Nacre, run.sh, analyze.py.
docs/engine/engine-comparison.md: method, per-site tables, side-by-side
screenshots, caveats, conclusions and what Servo needs for parity.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 23:13:52 -06:00
ac5eeefbd6 orchestrator: R5-15 YouTube second video, stale media metadata, traffic diff method
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 22:35:43 -06:00
84d6423a94 orchestrator: R5-13 YouTube/heavy sites, R5-14 Damson caret, D-031 reference browser pane
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 22:30:05 -06:00
3e03d333f1 S028: MSE on main: mse + crash-adblock green on main; PROGRESS, plan, INDEX
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 22:25:30 -06:00
997f15a683 orchestrator: R5-11 site colour icon refresh, R5-12 user report (YouTube results, SVG, speed)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 22:22:41 -06:00
80977fa836 S028: merge s022-mse-proto (MSE: S022, S026-S028) into main
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 22:11:54 -06:00
2fad886551 S028: plan box 6 ticked (smoke set green visible, heavy-web YouTube results only; 70 + 11 tests)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 22:11:46 -06:00
cdf16a59eb S028: gst_mse patch 12: coded frames raise the duration to the buffered end (C test)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 22:01:59 -06:00
9d71af3357 S028: fix reopen: no TRACKS_LOCK deadlock on append after endOfStream (C test), spec page cuts at a fragment boundary
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 21:47:34 -06:00
61b45b8159 orchestrator: final S028 state
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 21:24:49 -06:00
67095081bd S028: merge main (S031 timers patch kept) into s022-mse-proto; progress note
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 21:24:38 -06:00
92210485a4 orchestrator: S031 validated, S028 state
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 21:24:18 -06:00
24eeaa5938 S028: DESIGN media/MSE section, Engine limits without MSE, FEATURES row, mse-player tools row
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 21:22:06 -06:00
84f723f817 S028: patch write-up 10-11; plan boxes 2-5 ticked (mse-player 9/9, media unit tests green)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 21:21:09 -06:00
5534ee72be S028: gst_mse end of stream reaches msesrc, coded frames only raise the duration (patches 10-11)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 21:20:53 -06:00
c379f81585 S031: reruns green (crash-adblock x3, net-adblock, launch, heavy-web x2 no SIGSEGV, 70 tests); R5-01 fixed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 21:00:07 -06:00
f30a910c73 orchestrator: D-030 reference shots for site and UI checks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 20:56:01 -06:00
ac4e8ceeba orchestrator: D-029 fresh linked sessions for new plans
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 20:49:11 -06:00
409051df72 S028: WIP state note in PROGRESS (next steps, merge note)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 20:42:04 -06:00
9281226b6a orchestrator: handoff note (S028 WIP state)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 20:41:48 -06:00
71ec603e79 S028 (WIP): MSE attach no longer blocks the script thread; loadedmetadata after the init segment (own byte-stream check), readyState from buffered ranges, byte-stream append errors, buffered throws once removed, failure steps detach the MediaSource, codec table (vp09, Opus/fLaC, vorbis, hevc), mse-player smoke
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 20:41:22 -06:00
18e3acc4fe plans: Damson is a reference only (fluent, not perfect)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 20:40:38 -06:00
aa7109d618 plans: D-028 flyouts + motion + UI refine first, Damson as style reference
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 20:39:31 -06:00
18a8a6b91f orchestrator: handoff note (S031 state, S028 merge)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 20:39:17 -06:00
0ecfd0f573 S031: root due timers in vendored servo-script (R5-01 SIGSEGV), crash-adblock regression smoke
fire_timer moved due timers into an unrooted Vec; a GC inside one callback swept
the functions of the timers still waiting. Heavy-web reruns and cargo test still pending.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 20:38:47 -06:00
42f58f7c54 orchestrator: stop note (S031 uncommitted in tree, S028 mid-work)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 20:37:04 -06:00
b932f20f29 plans: S043 UI refine pass; D-027 motion and UI refine moved up
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 20:36:54 -06:00