gecko-dev/browser/actors
Masayuki Nakano 96bd720118 Bug 1521396 - Make ClickHandlerChild prevent multiple action of middle click on link element for preventing middle click paste r=smaug
When user middle clicks a link, most users must not expect to expose clipboard
content to the web application.  Therefore, we should stop firing paste event
when user click a link with middle button.

This patch makes ClickHandlerChild.handleEvent() prevent multiple action
when it posts middle click event on a link.  Note that even if middle click
event is consumed, default event handler will dispatch paste event.
Unfortunately, this is compatible behavior with the other browsers.
Therefore, we cannot change this behavior with calling preventDefault() and
this is the reason why this patch adds Event.preventMultipleActions().

Out of scope of this bug though, if there is an element which looks like a
link but implemented with JS, web apps can steal clipboard content if user
enables middle click event and user just wants to open the link in new tab.
It might be better to stop dispatching paste event in any browsers and request
to change each web apps.

Differential Revision: https://phabricator.services.mozilla.com/D17209

--HG--
extra : moz-landing-system : lando
2019-01-22 07:28:55 +00:00
..
AboutReaderChild.jsm Bug 1490810 - Simulate Fission for browser actors by blocking them from receiving sub-frame events. r=kmag 2018-09-26 21:46:18 +00:00
BlockedSiteChild.jsm Bug 1452908 - Fix the about:blocked link while checking Safe Browsing site status. r=johannh 2018-10-02 14:19:40 +00:00
BrowserTabChild.jsm Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop 2018-08-31 05:59:17 +00:00
ClickHandlerChild.jsm Bug 1521396 - Make ClickHandlerChild prevent multiple action of middle click on link element for preventing middle click paste r=smaug 2019-01-22 07:28:55 +00:00
ContentSearchChild.jsm Bug 1472491: Part 5d - Add ContentSearchChild actor. r=adw f=felipe 2018-07-29 20:00:11 -07:00
ContextMenuChild.jsm Bug 1365542 - Use HTML5 FormData object rather than hand-rolling form data for search keyword handling r=Gijs 2018-12-18 23:44:15 +00:00
DOMFullscreenChild.jsm Bug 1472491: Part 5m - Add DOMFullscreenChild actor. r=felipe 2018-07-29 21:20:01 -07:00
FormSubmitChild.jsm Bug 1490810 - Simulate Fission for browser actors by blocking them from receiving sub-frame events. r=kmag 2018-09-26 21:46:18 +00:00
LightweightThemeChild.jsm Bug 1490810 - Simulate Fission for browser actors by blocking them from receiving sub-frame events. r=kmag 2018-09-26 21:46:18 +00:00
LightWeightThemeInstallChild.jsm Bug 1472491: Part 5h - Add LightWeightThemeChild actor. r=felipe 2018-07-29 20:34:21 -07:00
LinkHandlerChild.jsm Bug 1490810 - Simulate Fission for browser actors by blocking them from receiving sub-frame events. r=kmag 2018-09-26 21:46:18 +00:00
moz.build Bug 1503674 - Remove unused PageMetadata. r=Gijs 2018-12-17 09:33:12 +00:00
NetErrorChild.jsm Bug 1414804 - Fix test for expired certificate "helpful" messaging to users with broken system clocks. r=Gijs 2019-01-09 17:23:18 +00:00
OfflineAppsChild.jsm Bug 1490810 - Simulate Fission for browser actors by blocking them from receiving sub-frame events. r=kmag 2018-09-26 21:46:18 +00:00
PageInfoChild.jsm Bug 1491243 - remove subscribe button, menu items and subscription section out of feed previews, r=florian 2018-09-18 06:06:27 +00:00
PageStyleChild.jsm Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop 2018-08-31 05:59:17 +00:00
PluginChild.jsm Bug 1497940 - Part V, Convert pluginProblem to UA Widget r=smaug 2018-11-22 05:49:54 +00:00
SearchTelemetryChild.jsm Bug 1505411 - Add basic monitoring for partner search pages with ads and clicks. Depends on D11188 r=adw,Felipe,chutten 2018-12-05 20:33:01 +00:00
URIFixupChild.jsm Bug 1472491: Part 5u - Add URIFixupChild actor. r=gijs 2018-07-29 22:30:34 -07:00
WebRTCChild.jsm Bug 1479051 - [macOS 10.14] WebRTC sites silently fail if user previously clicked "Don't Allow" for Firefox camera/mic access r=johannh 2018-10-10 08:28:41 +00:00