gecko-dev/toolkit/components/aboutconfig/test/browser
Mike Conley 02db702d76 Bug 1709050 - Suppress the focus ring in the upgrade dialog and some about: pages when they first load. r=Mardak,Gijs
Using autofocus="true" or programmatically calling .focus() when there is no pre-existing focused
element causes the :focus-visible to match.

This patch avoids using autofocus="true" on some of our about: pages, and uses
Element.focus({ preventFocusRing: true }) to avoid that when these pages and dialog
first load. Note that this doesn't prevent the focus ring from _ever_ appear, it just
stops it from appearing on first load.

Differential Revision: https://phabricator.services.mozilla.com/D115062
2021-05-21 18:13:29 +00:00
..
browser.ini
browser_accessibility.js
browser_basic.js
browser_clipboard.js
browser_edit.js
browser_locked.js
browser_observe.js
browser_search.js Bug 1689445 - revert EventUtils.sendMouseEvent back to being sync. r=jmaher 2021-02-09 01:30:08 +00:00
browser_warning.js
head.js Bug 1709050 - Suppress the focus ring in the upgrade dialog and some about: pages when they first load. r=Mardak,Gijs 2021-05-21 18:13:29 +00:00