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

NEW
Unassigned

Status

()

Toolkit
Form Manager
9 years ago
9 years ago

People

(Reporter: Biju, Unassigned)

Tracking

Trunk
x86
Windows Vista
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 years ago
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?
(Reporter)

Comment 1

9 years ago
related enhancement bug 531496

Updated

9 years ago
Component: Location Bar and Autocomplete → Form Manager
Product: Firefox → Toolkit
QA Contact: location.bar → form.manager
You need to log in before you can comment on or make changes to this bug.