From ee361ae37f0e049c92b2341f96105ea6bbb9ba7e Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sat, 22 Nov 2014 10:26:37 -0200 Subject: [PATCH] comments --- src/js/matrix.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/js/matrix.js b/src/js/matrix.js index 32dfba0..1911bda 100644 --- a/src/js/matrix.js +++ b/src/js/matrix.js @@ -376,12 +376,15 @@ Matrix.prototype.evaluateCellZ = function(srcHostname, desHostname, type) { break; } } + // srcHostname is '*' at this point + // Preset blacklisted hostnames are blacklisted in global scope if ( type === '*' && µm.ubiquitousBlacklist.test(desHostname) ) { return 1; } + // https://github.com/gorhill/uMatrix/issues/65 - // Hardcoded `doc` rule + // Hardcoded global `doc` rule if ( type === 'doc' && desHostname === '*' ) { return 2; }