Closed Bug 1318641 Opened 8 years ago Closed 8 years ago

Arrow keys generate keypress event in Firefox 50

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

50 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 968056

People

(Reporter: wouterlockefeer, Unassigned, NeedInfo)

Details

(Keywords: testcase)

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0 Build ID: 20161104212021 Steps to reproduce: Pressed any of the four arrow keys. Actual results: A keydown and keypress event were fired. Expected results: Only a keydown event should have fired.
Could you provide a testcase for that, please.
Flags: needinfo?(wouterlockefeer)
Keywords: testcase
Component: Untriaged → Event Handling
Product: Firefox → Core
Sure. But are you literally asking me for a test case for something so unbelievably simple? I don't see the point to be fair. But here you go: window.addEventListener("keypress", function(event){ console.log(event); }); Press your arrow keys in FF 50 and voila, you see the events fire. And they shouldn't. Can't make it easier than this!
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.