gecko-dev/layout
Tim Huang 98af9c6f96 Bug 1222285 - Part 2: Making the keyboard events of modifier keys been suppressed when 'privacy.resistFingerprinting' is true. r=arthuredelstein,masayuki
This patch makes 'Shift', 'Alt', 'Contorl' and 'AltGraph' been suppressed for content
when fingerprinting resistance is enabled. Chrome can still get these events.

The reason behind this is that websites can still observe key combinations to
tell which keyboard layout is using even we spoof the keyboardEvent.code,
keyboardEvent.keyCode and modifier states. For example, the AZERTY France
keyboard, the digit keys of it requires the user press the Shift key. So, it is
easy to differentiate AZERTY and QWERTY keyboard by observing whether a Shift key
generates its own before the digit keys. There are similar issues for 'Alt' and
'AltGraph' as well.

MozReview-Commit-ID: 3CwCgvey4lK

--HG--
extra : rebase_source : 225a34ab188f6cca288a6c0e9874261df7db629f
2017-08-31 11:14:14 +08:00
..
base Bug 1222285 - Part 2: Making the keyboard events of modifier keys been suppressed when 'privacy.resistFingerprinting' is true. r=arthuredelstein,masayuki 2017-08-31 11:14:14 +08:00
build Bug 1427519 - Remove unused inCSSValueSearch and related interfaces. r=jryans 2018-01-11 12:59:40 +08:00
doc
forms Bug 1425440 - Replace RemoveChildAt_Deprecated with RemoveChildNode in nsTextControlFrame, r=catalinb 2018-01-16 14:17:10 +01:00
generic Bug 1420722: Just use GetInFlowParent for now. r=mattwoodrow 2018-01-16 11:19:36 +01:00
inspector Bug 1430616 - correctly find end of keyword table in InspectorUtils; r=heycam 2018-01-15 09:14:55 -07:00
ipc Bug 1415225 - Move the EventRegionsOverride field to be on RefLayers only. r=botond 2017-11-09 09:03:52 -05:00
mathml Bug 1427221 part 1 - Do nsMathMLmfencedFrame cleanup in DestroyFrom, not in the dtor. r=mattwoodrow 2018-01-10 20:09:18 +01:00
media
painting Merge inbound to mozilla-central. a=merge 2018-01-17 11:46:53 +02:00
printing Bug 1426087: Decrement nsDocumentViewer::mDestroyRefCount in a separate function. r=jwatt 2018-01-12 10:17:36 +00:00
reftests Merge inbound to mozilla-central. a=merge 2018-01-17 11:46:53 +02:00
style Bug 1430924 - Create animation event struct directly. r=boris 2018-01-17 08:13:01 +09:00
svg Bug 1427292: [css-display] Update display: contents on Unusual Elements to the spec. r=mats 2018-01-06 21:52:51 +01:00
tables Bug 1429313 - Reuse nextColIndex to avoid extra BCMapCellInfo::GetCellEndRowIndex() calls. r=tylin 2018-01-10 01:11:00 -05:00
tools Bug 1429580 - Remove now-unnecessary inherited_status argument. r=dbaron 2018-01-11 09:53:10 -05:00
xul Bug 1427449, don't close the menu in nsMenuBarFrame::FindMenuWithShortcut when just checking if such a menu shortcut key exists from the keydown event handler, also for extra safety this should only happen for menus not panels, r=felipe 2018-01-15 15:16:56 -05:00
moz.build Bug 1417978 - Stop packaging layout debugger on Android. r=nalexander 2018-01-04 15:22:35 -06:00