Skip to content

Commit dd26689

Browse files
committed
Remove some unnecessary logging
Signed-off-by: Nick Semenkovich <semenko@alum.mit.edu>
1 parent 18ca9cf commit dd26689

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

chromium/rules.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,8 @@ RuleSets.prototype = {
297297
var rs = this.potentiallyApplicableRulesets(domain);
298298
for (var i = 0; i < rs.length; ++i) {
299299
if (!rs[i].active) continue;
300-
var rewrite = rs[i].apply(test_uri);
301-
if (rewrite) {
302-
log(INFO, "Cookie domain could be secured: " + rewrite);
300+
if (rs[i].apply(test_uri)) {
301+
log(INFO, "Cookie domain could be secured.");
303302
this.cookieHostCache.set(domain, true);
304303
return true;
305304
}

0 commit comments

Comments
 (0)