[tbb-commits] [torbutton/master] fixup! Bug 21396: Allow leaking of resource/chrome URIs
gk at torproject.org
gk at torproject.org
Fri Mar 3 08:05:17 UTC 2017
commit 2049d704d464907b6c58123f8c98df976f4f36e4
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