Closed Bug 531494 Opened 15 years ago Closed 2 years ago

Key events bubble from the auto-form-save pop-up list to the text INPUT element

Categories

(Toolkit :: Form Manager, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: BijuMailList, Unassigned)

Details

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.3a1pre) 
Gecko/20091127 Minefield/3.7a1pre (.NET CLR 3.5.30729)

It looks like we are allowing to bubble key events from the auto-form-save pop-up list. And this creates an annoying user experience on many sites.

Steps:-
(ensure you have form and history save checked)
1. goto https://my.t-mobile.com/
2. Enter 10 digits at the "phone number" field
3. Tab to "password" field 
4. Enter something
5. press "enter" key

6. go again to https://my.t-mobile.com/
7. Start typing the number entered in step 2
8. Wait for the numbers to be listed in auto-form-save list
9. Press the down arrow to hi-light the number
10. Press "Enter" key to select the number

Result:-
The form get submitted

Expected:-
The form should NOT get submitted

This may be because the t-mobile site is trapping the keyevents.

On the other hand if user use mouse to click and select the number it wont fire click event.

BookMarklet to watch keyboard and mouse events:-

javascript:document.getElementById('Login1_txtMSISDN').onkeydown=function(){document.title='key ' + new Date};undefined;

javascript:document.getElementById('Login1_txtMSISDN').onclick=function(){document.title='click ' + new Date};undefined;


BTW, 
What is that (.NET CLR 3.5.30729) appearing on my UA String
Who is putting it, any add-ons or plug-ins?
related enhancement bug 531496
Component: Location Bar and Autocomplete → Form Manager
Product: Firefox → Toolkit
QA Contact: location.bar → form.manager

It's working as expected in 2022

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.