diff --git a/src/js/traffic.js b/src/js/traffic.js index 961e0d3ff..e9eb32ebf 100644 --- a/src/js/traffic.js +++ b/src/js/traffic.js @@ -440,6 +440,8 @@ var onBeforeMaybeSpuriousCSPReport = function(details) { sourceFile = report['source-file'] || report['sourceFile']; if ( + (typeof blockedURI === 'string' || + typeof sourceFile === 'string') && (typeof blockedURI !== 'string' || blockedURI.startsWith('data') === false) && (typeof sourceFile !== 'string' ||