Closed Bug 452086 Opened 16 years ago Closed 16 years ago

[FIX]EventUtils.js synthesizeKey doesn't do the right thing when keydown is prevented

Categories

(Testing :: Mochitest, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Details

Attachments

(2 files)

In particular, it needs to preventDefault the keypress before dispatching it, just like normal event handling does.
Summary: EventUtils.js synthesizeKey doesn't do the right thing when keydown is prevented → [FIX]EventUtils.js synthesizeKey doesn't do the right thing when keydown is prevented
Attached patch FixSplinter Review
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #335395 - Flags: review?(enndeakin)
Attachment #335395 - Flags: review?(enndeakin) → review+
Pushed.
Flags: in-testsuite+
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Mass move of the rest of the Mochitest bugs from Core:Testing to Testing:Mochitest. Filter on MochitestMassMove to ignore.
Component: Testing → Mochitest
Product: Core → Testing
QA Contact: testing → mochitest
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: