Middle-clicking a link triggers onpaste event

Bug #1163565 reported by Elliot Kendall
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Chromium Browser
Unknown
Unknown
chromium-browser (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Ubuntu release: 12.10

chromium-browser version: 25.0.1364.160-0ubuntu0.12.1

Expected: Consider this bit of HTML:

<html>
<body onpaste="alert('Hi');">
<a href="http://google.com/">Google</a>
</body>
</html>

Middle-clicking the link to Google should open the link in a new tab, but not trigger the onpaste event.

Observed: Middle-clicking the link opens the link in a new tab, but does trigger the onpaste event. The same is true on any page with a body onpaste handler.

See also https://code.google.com/p/chromium/issues/detail?id=22810, which was fixed in 2009 and is not present in the 22.0.1229.94~r161065-0ubuntu1 package.

Revision history for this message
Elliot Kendall (elliotkendall) wrote :

This bug is still present in Ubuntu 13.04 / chromium-browser 25.0.1364.160-0ubuntu3

Revision history for this message
Jani Uusitalo (uusijani) wrote :

Also reproducible with chromium-browser 28.0.1500.52-0ubuntu1.12.04.2 (in 12.04).

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in chromium-browser (Ubuntu):
status: New → Confirmed
Revision history for this message
Paul White (paulw2u) wrote :

We are sorry that we do not always have the capacity to review all reported bugs in a timely manner. You reported this bug some time ago and there have been many changes in Ubuntu and Chromium since that time.

The upstream bug report was closed in 2015 as the issue could not be confirmed. Do you still see a problem related to the one that you reported using currently supported versions of Chromium and Ubuntu?

Thank you for helping make Ubuntu better.

Paul White
[Ubuntu Bug Squad]

Changed in chromium-browser (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Elliot Kendall (elliotkendall) wrote :

The bug is not present in chromium-browser 65.0.3325.181-0ubuntu1 on 18.04. Thanks.

Revision history for this message
Paul White (paulw2u) wrote :

Thanks Elliot, I'll close this as being fixed.

Changed in chromium-browser (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.