A WebGL page needs SwiftShader switches the fixed argument list did not
have. Browser.flags adds up to 12 switches before the first page; the
DevTools test checks that one reaches Chromium.
DevtoolsWrite sent the byte after a message's storage as its terminator.
Built strings are not followed by a NUL, so later messages were joined to
the next one and Chromium stopped answering every command, which made a
running game page look hung. The NUL is now written separately.
The test server answers Range requests with 206 Partial Content and sends
.ogg, .wav, .mp3, .webp and .jpg with their own types, so media elements
finish loading instead of holding their connections. Chromium now always
receives its DevTools pipes on 3 and 4, even when pipe2 returns those
numbers, which close-on-exec used to drop.
kryon/devtools starts Chromium with --remote-debugging-pipe and no
display or session, attaches to its page, and serves a build from a
static server in the same poll loop: routes with their own bodies and
headers, an injected head script, and every request target recorded.
Tests evaluate and wait for expressions, click, type, take screenshots,
set the viewport, intercept requests and read the page's exceptions.