Closed Bug 1196638 Opened 6 years ago Closed 6 years ago

EventUtils infers the wrong button when synthesizing contextMenu clicks

Categories

(Testing :: Mochitest, defect)

defect
Not set
normal

Tracking

(firefox43 fixed)

RESOLVED FIXED
mozilla43
Tracking Status
firefox43 --- fixed

People

(Reporter: bholley, Assigned: bholley)

References

Details

Attachments

(1 file)

This ends up causing nsPresShell to determine that it's a key-equiv, and makes the context menu appear at the top-left of the content area, instead of the area where it was targeted.

It looks like Martijn ran into the same problem in bug 916086 and fixed one of the callsites, but not all of them. :-(
Comment on attachment 8650300 [details] [diff] [review]
Infer the proper button for synthesized mouse clicks on all callsites. v1

Review of attachment 8650300 [details] [diff] [review]:
-----------------------------------------------------------------

good find.
Attachment #8650300 - Flags: review?(jmaher) → review+
https://hg.mozilla.org/mozilla-central/rev/994e010d0a03
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
You need to log in before you can comment on or make changes to this bug.