fix: prefer firefox for desktop browsing #69
Reference in New Issue
Block a user
Delete Branch "fix/xorg-firefox-display"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
desktop_open_urlwhen installed.Why
Live display debugging showed Chrome, Falkon, and Epiphany could open windows under Xvfb, but browser page surfaces stayed gray. Firefox under Xorg dummy rendered Example Domain content correctly, so runtime should prefer the browser that works with the display backend.
Verification
PYTHONPATH=$PWD pytest tests/test_desktop_tools.py -q-> 8 passedPYTHONPATH=$PWD pytest -q-> 369 passedi-0b44c4a365494ba9d: Firefox on Xorg dummy rendered Example Domain content in screenshot/tmp/firefox-xorg-thumb.jpg.Reviewed five-axis pass: correctness OK based on local full suite and live Xorg/Firefox rendering proof; readability/architecture OK (narrow browser preference/display backend changes); security OK (URL remains argv, no shell, display remains localhost-only); performance OK for display-enabled workspaces only. Gitea checks are Waiting with no action_task rows, so approval is based on direct verification.
Reviewed five-axis pass: correctness OK based on local full suite and live Xorg/Firefox rendering proof; readability/architecture OK (narrow browser preference/display backend changes); security OK (URL remains argv, no shell, display remains localhost-only); performance OK for display-enabled workspaces only. Gitea checks are Waiting with no action_task rows, so approval is based on direct verification.