[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-browser/tor-browser-38.5.0esr-5.5-2] fixup! Bug 15646: Prevent keyboard layout fingerprinting in KeyboardEvent
commit 1ad4ed85948e5814e46744cedd0b5a9b1707cac4
Author: Arthur Edelstein <arthuredelstein@xxxxxxxxx>
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)
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits