[tbb-commits] [torbutton/maint-1.9.6] fixup! Bug 21396: Allow leaking of resource/chrome URIs

gk at torproject.org gk at torproject.org
Fri Mar 3 08:06:58 UTC 2017


commit bcbef88add4cdb4fe42c2827c8fe3e04c045a002
Author: Georg Koppen <gk at torproject.org>
Date:   Thu Mar 2 11:28:13 2017 +0000

    fixup! Bug 21396: Allow leaking of resource/chrome URIs
---
 src/components/content-policy.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/components/content-policy.js b/src/components/content-policy.js
index b11c4e7..096827b 100644
--- a/src/components/content-policy.js
+++ b/src/components/content-policy.js
@@ -17,9 +17,10 @@ let { bindPrefAndInit } =
 
 function ContentPolicy() {
   this.uriFingerprinting = null;
+  let that = this;
   bindPrefAndInit("extensions.torbutton.resource_and_chrome_uri_fingerprinting",
     function (enabled) {
-      this.uriFingerprinting = enabled;
+      that.uriFingerprinting = enabled;
     });
 }
 





More information about the tbb-commits mailing list