[Webkit-unassigned] [Bug 46733] REGRESSION (r67261): Middle-mouse-release opens links regardless of "press" location

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 28 11:34:08 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=46733





--- Comment #9 from Peter Kasting <pkasting at google.com>  2010-09-28 11:34:08 PST ---
Created an attachment (id=69077)
 --> (https://bugs.webkit.org/attachment.cgi?id=69077)
opening links on events testcase

I wrote this testcase to see what would happen on artificially-created events.

Unmodified testcase:

* In WebKit trunk (tested in Chrome Dev channel), mousing over link 2 will open two background tabs displaying bing.com (link 3).
* In Opera, mousing over link 2 will navigate the current tab to bing.com.
* In Firefox, neither mousing over link 2, nor mousing over link 1 and link 2, will open anything.

Changing the mouse button from "1" to "0":

* In WebKit trunk and Opera, mousing over link 2 will navigate the current tab to bing.com.
* In Firefox, neither mousing over link 2, nor mousing over link 1 and link 2, will open anything.

Uncommenting the preventDefault() call in displayEventName():

* In WebKit trunk, neither left- nor middle-clicking link 3 will open anything.
* In Firefox and Opera, left-clicking link 3 will not open anything, while middle-clicking will open one background tab displaying bing.com.

Uncommenting the preventDefault() call in the link 3 click listener:

* In all three browsers, left-clicking link 3 will not open anything, while middle-clicking will open one background tab displaying bing.com.

Personally, I think Firefox' handling is the most sane.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list