Documentation
¶
Overview ¶
Command webdisableprobe checks webview.Host's Disable (#1279): a page that counts every kind of input it gets, in a host that is enabled, disabled and enabled again, with a bellui widget under it and a bellui Scroll around it that count what falls through.
go run ./hack/webdisableprobe by hand: the button toggles
go run ./hack/webdisableprobe -disabled
disabled from before the page
exists; -auto leaves out the first
phase
go run ./hack/webdisableprobe -auto three phases, with injected input
where the probe can inject it
Phones run the three phases by themselves, 12 s each from the first tap, for a finger or adb to drive. Every second, and at the end of each phase, it prints
webdisableprobe: <phase> disabled=B page={...} under=N scroll=Y focus=<who>
PASS: in the disabled phase the page's counters of input stand still while "ticks" goes on (its script runs), "evals" goes on (Eval is answered), and under and scroll stand still too. In the enabled phases the counters move, which is what shows that the input was real.