c3723fef

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Restore autocomplete on Firefox Android (#95)

Firefox for Android exposes datalist DOM APIs but does not render the
suggestion popup. Use one application-owned ARIA combobox across browsers so
mobile Firefox users can see and select grocery suggestions.

Keep suggestion rendering safe with textContent, support pointer and keyboard
selection, and document the upstream Firefox bug and the native datalist
commit to revisit after Mozilla resolves it.

Tests: ./dev-scripts/build-all-flake-targets

Reviewed-on: https://codeberg.org/mtlynch/grosiree/pulls/95

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 2s 4s 4s 7s 2s
Eval 5s 59s 59s 1m05s 0s
Build 1m00s 2m15s 1m25s 2m26s 0s
Deploy 2m37s 1m51s 1m51s 4m28s 10s
Suite 2s 5m10s 4m25s 4m28s 14s

Timeline

0s20s40s1m1m20s1m40s2m2m20s2m40s3m3m20s3m40s4m4m20s