blob: c6564ba04687bc1bf05a7998d825343b472365dd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# Web browser snapshots
`source-list.dump.zon` is a byte-for-byte dump from a running Pardes instance.
It is not assembled or normalized by a fixture generator.
To recapture it:
1. Build and launch the native TTY in this checkout with `PARDES_DUMP` pointing
at a temporary file.
2. Enter TTY mode, run `clear`, then run `git ls-files '*.zig'`.
3. Leave the pane in TTY mode and middle-click Pardes's `Dump` builtin.
4. Copy the resulting dump into `source-list.dump.zon` without editing it.
The visible `.body` must exactly match the command plus every path reported by
Git (and the final prompt). The base64 PTY stream must contain the command
itself. `source-list.snap` then drives the freestanding WASM + DOM build through
Chromium: it checks the full listing, taps `build.zig`, snapshots packed cell
styles (including Tree-sitter's Zig highlighting), resizes the pane separator,
and finally verifies body scrolling.
|