Closed
Bug 1297736
Opened 8 years ago
Closed 8 years ago
[non-e10s] Tabulation inserted in text input if keydown event is listened for keyCode 9 with alert() in listener
Categories
(Core :: Widget: Win32, defect, P2)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
e10s | - | --- |
People
(Reporter: vintho01a, Unassigned)
References
Details
(Keywords: reproducible, Whiteboard: tpi:+)
Attachments
(1 file, 1 obsolete file)
809 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0 Build ID: 20160817112116 Steps to reproduce: Type a text in a input field and put the cursor in the text. Go to the next field with tabulation. A tabulation CharCode(10) is inserted in the text. In the code of the page, there is a listener on keypress for keyCode 9 (TAB) and an alert() function in the listener. preventDefault() on event doesn't modify the behaviour. See attachement for the html file. Actual results: A tabulation is inserted in the text (input field) in addition to the navigation by tab key. Expected results: Only the navigation by tab key to the next field.
Open the file in firefox and follow the instructions: Enter text in the first or second input field and put the cursor inside the text. Then go to the next field with tab key. A tab will be inserted/added in the text.
Attachment #8784401 -
Attachment is obsolete: true
Comment 2•8 years ago
|
||
Almost same bug as bug 1294536. I confirmed it's fixed in the try build there. could be just a dupe?
Status: UNCONFIRMED → NEW
Component: DOM: Events → Widget: Win32
Ever confirmed: true
Flags: needinfo?(masayuki)
See Also: → 1294536
Summary: Tabulation inserted in text input if keydown event is listened for keyCode 9 with alert() in listener → [non-e10s] Tabulation inserted in text input if keydown event is listened for keyCode 9 with alert() in listener
Comment 3•8 years ago
|
||
I think that for easier to find a bug which users to see, keep open this bug and close this bug when bug 1294536 is fixed.
Flags: needinfo?(masayuki)
Updated•8 years ago
|
tracking-e10s:
--- → -
Updated•8 years ago
|
Priority: -- → P2
Whiteboard: tpi:+
Comment 4•8 years ago
|
||
I cannot reproduced with the latest Nightly build. Must be fixed by the fix of bug 1294536.
You need to log in
before you can comment on or make changes to this bug.
Description
•