Open Bug 1577127 Opened 5 years ago Updated 2 years ago

Javascript event.repeat always set to false on Oracle Linux 7

Categories

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

60 Branch
Unspecified
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: kenny.a.a.thompson, Unassigned, NeedInfo)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Steps to reproduce:

Add the following event listener to a page:
document.addEventListener("keydown", event => {
console.log(event.repeat);
});
hold down any key on the keyboard to generate repeat key events.

Actual results:

Observe that event.repeat is always false when a key is held down.

Expected results:

after the first event, event.repeat should be true.

Hi Kenny,

Could you please provide a testcase with that event listener?
Is this also reproducible on the latest Nightly? Here is where you can find it for download: https://www.mozilla.org/en-US/firefox/nightly/all/

Meanwhile, I am moving this over to a component, it might've been reported before.
Thanks!

Component: Untriaged → User events and focus handling
Flags: needinfo?(kenny.a.a.thompson)
Product: Firefox → Core

I couldn't reproduce this on macos and win10 on nightly 71. I got "true" after a "false" for event.repeat.

OS: Unspecified → Linux
Priority: -- → P3
Severity: normal normal → S3 S3
You need to log in before you can comment on or make changes to this bug.