Skip to content

Commit 8cf8ee2

Browse files
committed
Improve securecookie logging.
1 parent bcac05e commit 8cf8ee2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/chrome/content/code/HTTPSRules.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -768,17 +768,17 @@ const HTTPSRules = {
768768
return false;
769769
}
770770

771-
this.log(INFO, "Testing securecookie applicability with " + test_uri);
771+
this.log(DBUG, "Testing securecookie applicability with " + test_uri);
772772
var rs = this.potentiallyApplicableRulesets(domain);
773773
for (var i = 0; i < rs.length; ++i) {
774774
if (!rs[i].active) continue;
775775
var rewrite = rs[i].apply(test_uri);
776776
if (rewrite) {
777-
this.log(INFO, "Yes: " + rewrite);
777+
this.log(DBUG, "Safe to secure cookie for " + test_uri + ": " + rewrite);
778778
return true;
779779
}
780780
}
781-
this.log(INFO, "(NO)");
781+
this.log(DBUG, "Unsafe to secure cookie for " + test_uri);
782782
return false;
783783
}
784784
};

0 commit comments

Comments
 (0)