Closed Bug 711903 Opened 8 years ago Closed 8 years ago
Utils .synthesize Key() shouldn't dispatch keypress event for modifier keys if the type isn't specified
EventUtils.synthesizeKey() dispatches keydown event, keypress event and keyup event if the event type isn't specified. However, widgets don't dispatch keypress event for modifier keys. Therefore, it shouldn't dispatch it.
Do you have a better idea for the name of "isKeypressFiredKey"?
Attachment #583070 - Flags: review?(bugs)
These tests should test the unexpected keypress events since some platforms may have the bug. # Is it better to insert an assertion in XP level code?
Attachment #583072 - Flags: review?(ehsan)
Target Milestone: --- → mozilla12
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.