← Back to team overview

linux-traipu team mailing list archive

[Bug 1163565] Re: Middle-clicking a link triggers onpaste event

 

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

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Chromium Browser.
https://bugs.launchpad.net/bugs/1163565

Title:
  Middle-clicking a link triggers onpaste event

Status in Chromium Browser:
  Unknown
Status in chromium-browser package in Ubuntu:
  Incomplete

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/chromium-browser/+bug/1163565/+subscriptions