Closed Bug 764678 Opened 12 years ago Closed 11 years ago

Web Console: focus doesn't return to the command line after an alert is displayed

Categories

(DevTools :: Console, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mjh563, Unassigned)

Details

After using the Web console to show an alert, the keyboard focus is not returned to the command line.

Steps to reproduce:

1. Open the Web console (Ctrl+Shift+K)
2. At the command line, type alert("x") and press Enter
3. Close the alert box that appears
4. Type some more text

Actual results:

Nothing happens, because the keyboard focus is no longer on the command line (it's put onto the web page instead).

Expected results:

The characters typed should have appeared on the Web console command line, because that's where I was typing before the alert was shown.
Summary: Web console: focus doesn't return to the command line after an alert is displayed → Web Console: focus doesn't return to the command line after an alert is displayed
When using alert() the user is explicitly switching focus to content, so I think we shouldn't do anything differently here.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.