Open
Bug 2098072
Opened 29 minutes ago
Focus isn't restored to the Remove button after the Local Mode removal confirmation closes
Categories
(DevTools :: General, defect)
DevTools
General
Tracking
(Not tracked)
NEW
People
(Reporter: leo, Unassigned)
References
Details
Steps to reproduce:
- Open the DevTools settings panel with at least one Local Mode mapping.
- Tab to "Remove local mapping" and press Enter.
- Press Escape (or Enter) in the confirmation dialog.
Expected: focus returns to the "Remove local mapping" button after cancelling. After confirming, focus moves somewhere sensible in the Local Mode section.
Actual: focus isn't on the button, or anywhere obvious in the panel.
This happens in both the old settings panel (toolbox-options.js) and the new one (#removeMapping in devtools-settings-local-mode.mjs, from bug 2081851).
Explicitly calling focus() after confirm() returns would work around it, but it's worth understanding whether this is a focus manager bug affecting other chrome window.confirm callers.
You need to log in
before you can comment on or make changes to this bug.
Description
•