Documentation
¶
Overview ¶
Command webcheck draws a page of cards in a js build and prints a hash of its pixels, for the web build's CI job (scripts/web/check.sh). The job runs it built with Go and with TinyGo, and fails when the hashes differ, which catches a TinyGo build that computes something differently.
It needs no window and no app package: it drives a ui.Runtime directly and draws with the CPU renderer. The page holds no clock and no random values, so its pixels are the same on every run.
Directories
¶
| Path | Synopsis |
|---|---|
|
Command fields is a page of text fields for the web build's browser check (scripts/web/browser.cjs): on an iPhone, the editable element over each lays its text out as the field does, which the check compares, at every character boundary, with where the field puts its caret.
|
Command fields is a page of text fields for the web build's browser check (scripts/web/browser.cjs): on an iPhone, the editable element over each lays its text out as the field does, which the check compares, at every character boundary, with where the field puts its caret. |