commit 1ad4ed85948e5814e46744cedd0b5a9b1707cac4 Author: Arthur Edelstein arthuredelstein@gmail.com Date: Wed Jan 20 17:51:46 2016 -0800
fixup! Bug 15646: Prevent keyboard layout fingerprinting in KeyboardEvent --- dom/events/KeyCodeConsensus.h | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/dom/events/KeyCodeConsensus.h b/dom/events/KeyCodeConsensus.h index 47d8341..e789326 100644 --- a/dom/events/KeyCodeConsensus.h +++ b/dom/events/KeyCodeConsensus.h @@ -181,15 +181,14 @@ static void createKeyCodes() KEY("8", Digit8, 56) KEY("9", Digit9, 57)
- SHIFT("!", Digit0, 48) - SHIFT("@", Digit1, 49) - SHIFT("#", Digit2, 50) - SHIFT("$", Digit3, 51) - SHIFT("%", Digit4, 52) - SHIFT("^", Digit5, 53) - SHIFT("&", Digit6, 54) - SHIFT("*", Digit7, 55) - SHIFT("(", Digit8, 56) - SHIFT(")", Digit9, 57) - + SHIFT(")", Digit0, 48) + SHIFT("!", Digit1, 49) + SHIFT("@", Digit2, 50) + SHIFT("#", Digit3, 51) + SHIFT("$", Digit4, 52) + SHIFT("%", Digit5, 53) + SHIFT("^", Digit6, 54) + SHIFT("&", Digit7, 55) + SHIFT("*", Digit8, 56) + SHIFT("(", Digit9, 57) }