Closed
Bug 1156023
Opened 10 years ago
Closed 4 years ago
'click' event fires when right clicking an element where the event is attached to the window object
Categories
(Core :: DOM: Events, defect, P5)
Core
DOM: Events
Tracking
()
RESOLVED
INVALID
People
(Reporter: evan.trimboli, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(1 file)
(deleted),
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36
Steps to reproduce:
In the test case:
- Right click inside the "direct" div.
- Left click the switch button.
- Right click inside the "window" div.
Actual results:
- A single contextmenu event is fired for the direct div.
- A click, then a contextmenu event is fired for the window div.
Expected results:
- A single contextmenu event is fired for the direct div.
- A single contextmenu event is fired for the window div.
Updated•10 years ago
|
Right click in the Direct div:
> Firefox 40: "contextmenu event" true
> Firefox 28: "contextmenu event" true
> Firefox 17: "contextmenu event" true
> Chrome 42: "contextmenu event" true
Right click in the Window div:
> Firefox 40: "contextmenu event" false, "click event" false
> Firefox 28: "contextmenu event" false, "click event" false
> Firefox 17: "contextmenu event" false, "click event" false
> Chrome 42: "contextmenu event" false
I confirm that we're doing this differently than Google Chrome. That said this is not a regression as far as I can tell.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 7 → All
Hardware: x86_64 → All
Version: 35 Branch → Trunk
Comment 2•6 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
Closing because both now only logs contextmenu event and thus can't be reproduced anymore.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•