Closed Bug 184688 Opened 23 years ago Closed 23 years ago

onClick being called on right or middle click

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 180078

People

(Reporter: eigenray, Assigned: bugzilla)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021207 Phoenix/0.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021207 Phoenix/0.5 If a link has an onClick defined, it is called when right- or middle-clicking on the link. This is happening in Phoenix 0.5 on Windows 2000. It does not occur in Mozilla 1.1 or 1.21. Reproducible: Always Steps to Reproduce: 1.Go to http://www.google.com/search?q=stuff 2.Right (or Middle) click on the "Groups" tab at the top Actual Results: You are taken directly to the Groups search results without a context menu appearing (or new tab being created). Expected Results: A context menu should appear (or link should open in new tab). The anchor tag for the link in question is: a id=t2a class=q href=http://groups.google.com/groups?q=stuff&hl=en&lr=&ie=UTF-8&sa=N&tab=wg onClick="return b('http://groups.google.com/groups','wg',event);" See also http://www.mathlab.sunysb.edu/~cassella/phoenix_onclick.html
I can partially confirm this with the Linux build 20021209 Middle-clicking on the Groups tab opens the link in the same tab, rather than in a new tab. However, right-clicking calls up a context menu, and, selecting "Open in New Tab" behaves as expected. Likewise, the test case opens up two tabs from a middle-click, the active tab going to the Phoenix project page and the new tab going to mozilla.org. But again, right-clicking behaves as expected. Can anyone else confirm the reporter's claim in Windows? This bug may have to be split into two.
*** This bug has been marked as a duplicate of 180078 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Mass verifying of old bugs.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.