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

UNCONFIRMED
Unassigned

Status

()

UNCONFIRMED
6 years ago
6 years ago

People

(Reporter: dereks, Unassigned)

Tracking

25 Branch
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

6 years ago
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.
(Reporter)

Comment 1

6 years ago
Created attachment 769547 [details]
password.html
(Reporter)

Comment 2

6 years ago
Created attachment 769548 [details]
test.html
(Reporter)

Comment 3

6 years ago
> 0) Save both testcase html files (password.html and testing.html)

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