Expand description
Debug-only, loopback WebDriver transport for Blitz renderers.
The server owns networking and session authentication. Renderer commands cross a typed Arc queue and must be executed by the UI/runtime thread.
§Security boundary
Enabling this server grants the holder of its per-process discovery token debugger-level control, including arbitrary JavaScript execution in the document. It deliberately has the same trust posture as a browser remote debugging port: loopback-only transport, an unpredictable token, and a descriptor created with owner-only permissions on Unix. It is not a sandbox or an authorization boundary against another process running as the same OS user and able to read that user’s files. Production builds should leave the feature and its environment variables disabled.
Structs§
- Command
Receiver - Single renderer consumer of typed request pointers.
- Control
Request - A command forwarded from the HTTP server to the renderer thread.
- Debug
Server - Running server. Dropping it shuts down the listener and removes discovery.
- Into
Value Iter - Recv
Error - Server
Config - Configuration for a loopback debug-control server.
- Service
Waker - Wakes whichever thread services requests, so it does not have to poll for them.
- TryValue
Iter - Value
Iter - Value
Receiver - Value-delivery adapter over the consumer-owned typed command ring.
Enums§
- Control
Response - A renderer response represented using W3C WebDriver success/error values.
- Recv
Timeout Error - A blocking command receive outlived its deadline or server.
- TryRecv
Error - A command was not immediately available.