commit c1273008b1e00a60ce51cec4aa68ed83363c9a20 Author: Kathy Brade brade@pearlcrescent.com Date: Wed Aug 5 10:40:47 2015 -0400
fixup! Bug 15646: Prevent keyboard layout fingerprinting in KeyboardEvent
Use ThreadsafeIsCallerChrome() instead of IsCallerChrome(). --- dom/events/KeyboardEvent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dom/events/KeyboardEvent.cpp b/dom/events/KeyboardEvent.cpp index 76e6e39..6a68f96 100644 --- a/dom/events/KeyboardEvent.cpp +++ b/dom/events/KeyboardEvent.cpp @@ -14,7 +14,7 @@ namespace dom {
static bool ResistFingerprinting() { return nsContentUtils::ResistFingerprinting() && - !nsContentUtils::IsCallerChrome(); + !nsContentUtils::ThreadsafeIsCallerChrome(); }
KeyboardEvent::KeyboardEvent(EventTarget* aOwner,
tor-commits@lists.torproject.org