Open Bug 888788 Opened 11 years ago Updated 2 years ago

Closing the Remember a Password dialog(-ish) box with escape doesn't return focus back to the window

Categories

(Firefox :: Keyboard Navigation, defect)

25 Branch
x86
macOS
defect

Tracking

()

UNCONFIRMED

People

(Reporter: dereks, Unassigned)

Details

Attachments

(2 files)

With an updated Nightly.app, closing the "Remember a Password" dialog(-ish) box with escape doesn't return focus back to the window. In doing so typeaheadfind doesn't work and other possible onkey events are not triggered until the user clicks in the window.

With the attached testcase you will lose focus of the window if you use escape to close the "Remember a Password" dialog.

Steps:
0) Save both testcase html files (password.html and testing.html) and turn on typeaheadfile via about:config
1) open password.html in Firefox
2) type something in the two text boxes (one is type=password)
3) hit return
4) hit escape to dismiss the remember a password dialog
5) hit t to test the onkeydown even 
   or test typeaheadfind by typing "esting"

Expected:
For onkey events and typeaheadfind to trigger when the new page loads.

PS: If you click the submit button everything works vs step 4 where you're hitting return to submit the form.  Also, I believe the window may lose focus if you're using enter to submit the form.
Attached file password.html
Attached file test.html
> 0) Save both testcase html files (password.html and testing.html)

sorry that should be test.html
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: