Documentation
¶
Overview ¶
Command cefhostprobe is the #105 acceptance run: the Linux webview backend — CEF offscreen, composited into bellui's canvas — driven end to end through the real webview.Host widget rather than through raw CEF as hack/cefprobe did.
Unlike every hole-punch backend, Canvas.Capture genuinely sees the web content here, so this probe asserts on pixels: content IN the canvas, bellui drawing OVER it. It then walks the seams the portable API promises — document-start bridge injection, both bridge directions, eval with a real exception (the #83 defect Linux does not inherit), the navigation veto, the focus path and keyboard input, and teardown.
It runs headless: the test app and the software renderer need no display, and CEF is told --ozone-platform=headless when there is none. The CEF pump is driven by this probe's own loop — under the test driver the backend's pump animation ticks only once — which also keeps every CEF call on this locked main thread.
Usage on a machine with a payload (see hack/cefprobe/setup.sh or a gocef-libs release):
BELLUI_CEF_DIR=/path/to/payload go run ./hack/cefhostprobe
With -profile it instead runs one leg of the #125 persistence matrix — write / read / read-empty paired invocations proving profile state does (or, in-memory, does not) survive into a new process; see the flag docs.