[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torbutton/master] fixup! Bug 21396: Allow leaking of resource/chrome URIs



commit 2049d704d464907b6c58123f8c98df976f4f36e4
Author: Georg Koppen <gk@xxxxxxxxxxxxxx>
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;
     });
 }
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits