Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ Engine-wide invariants. The owning code carries the detail; keep these in sync w
changes this: the loaded workers get workerd's experimental native-eval flag, so the paths that
try V8 first (CDP evaluation, page `eval` and `new Function`) stay on V8. Cloudflare rejects the
flag.
- The CDP WebSocket bounds the session. Per-connection state lives in `handleWebSocket`'s closure;
no Durable Object holds it and nothing persists across connections.
- The CDP WebSocket bounds the session. `BrowserSession` (`cdp/connection.ts`) holds the browser
state and `ClientConnection` its one socket, and the session ends when that socket closes. No
Durable Object holds it and nothing persists across connections.
- Each `Page.navigate` loads a fresh anonymous PageScript worker with `env.LOADER.load` and kills
the previous one. Use `load()`, never a named `LOADER.get`.
- Wasm panics unwind (`packages/core/.cargo/config.toml`, symlinked into `renderer-core`), so the
Expand Down
Loading
Loading