Closed
Bug 890953
Opened 11 years ago
Closed 6 years ago
Javascript prompt() pressing "enter" on keyboard = cancel
Categories
(Firefox OS Graveyard :: Gaia::Browser, defect)
Firefox OS Graveyard
Gaia::Browser
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: scootergrisen, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0 (Beta/Release) Build ID: 20130618035212 Steps to reproduce: Use Javascript's prompt() type something and press "enter" on the screen keyboard. Actual results: Prompts get cancled. Expected results: Would expect pressing "enter" would be like pressing "OK".
Comment 1•10 years ago
|
||
Tested on OS 1.3 in simulator and on my Flame device and can confirm that pressing enter returns null from the prompt, both with a physical and touch keyboard.
Is this still reproducible?
Flags: needinfo?(scootergrisen)
Keywords: uiwanted
Reporter | ||
Comment 3•10 years ago
|
||
Testet in Firefox OS simulator 2.2 (unstable). Still the same problem. Pressing enter on the screenkeyboard or physical keyboard is like pressing the "Cancel" button. Also testet on my phone with 1.4 and there nothing happens when pressing the enter key on the screen keyboard. I can just keep pressing the enter key, nothing happens.
Flags: needinfo?(scootergrisen)
Comment 4•9 years ago
|
||
Tested in Firefox OS simulator 2.2 (stable). Still the same problem. Pressing enter on the screenkeyboard or physical keyboard is like pressing the "Cancel" button. console output lines: >> var aNumber = window.prompt('enter fav number'); (use software keyboard to type '123' and press return/enter) <- undefined >> aNumber <- null >> var aNumber = window.prompt('enter fav number'); (use hardware keyboard to type '234' and press return/enter) <- undefined >> aNumber <- null
Comment 5•6 years ago
|
||
Firefox OS is not being worked on
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•