← Back to team overview

linux-traipu team mailing list archive

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

 

** Bug watch added: code.google.com/p/chromium/issues #259006
   http://code.google.com/p/chromium/issues/detail?id=259006

** Also affects: chromium-browser via
   http://code.google.com/p/chromium/issues/detail?id=259006
   Importance: Unknown
       Status: Unknown

-- 
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:
  Confirmed

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