Skip to content

Commit 07a1cf1

Browse files
committed
Remove unused loadAllRulesets.
1 parent cd9728f commit 07a1cf1

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/chrome/content/code/HTTPSRules.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -575,18 +575,6 @@ const HTTPSRules = {
575575
intoList.push(fromList[i]);
576576
},
577577

578-
loadAllRulesets: function() {
579-
for (var host in this.targets) {
580-
var ruleset_ids = this.targets[host];
581-
for (var i = 0; i < ruleset_ids.length; i++) {
582-
var id = ruleset_ids[i];
583-
if (!this.rulesetsByID[id]) {
584-
this.loadRulesetById(id);
585-
}
586-
}
587-
}
588-
},
589-
590578
// Load a ruleset by numeric id, e.g. 234
591579
// NOTE: This call runs synchronously, which can lock up the browser UI. Is
592580
// there any way to fix that, given that we need to run blocking in the request

0 commit comments

Comments
 (0)