From 3c7dfbbfa66fa8d6004fc601b97ccde2473e8ee6 Mon Sep 17 00:00:00 2001 From: bridiver Date: Fri, 24 Jun 2016 18:46:34 -0700 Subject: [PATCH] fix site-specific fingerprinting opt-out fixes #2300 auditors: @diracdeltas --- js/state/contentSettings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/state/contentSettings.js b/js/state/contentSettings.js index c23409fdcb0..6506b75dac1 100644 --- a/js/state/contentSettings.js +++ b/js/state/contentSettings.js @@ -97,7 +97,7 @@ const getContentSettingsFromSiteSettings = (appState) => { addContentSettings(contentSettings.cookies, hostPattern, '*', 'allow') } } - if (hostSetting.fingerprintingProtection) { + if (typeof hostSetting.fingerprintingProtection === 'boolean') { addContentSettings(contentSettings.canvasFingerprinting, hostPattern, '*', hostSetting.fingerprintingProtection ? 'block' : 'allow') } if (hostSetting.adControl) {