File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,10 @@ RuleSet.prototype = {
6868 ensureCompiled : function ( ) {
6969 // Postpone compilation of exclusions, rules and cookies until now, to accelerate
7070 // browser load time.
71+ // NOTE: Since rulesets are now lazy-loaded in FF, this will be called immediately
72+ // after the ruleset is loaded, and doesn't give much startup benefit. We
73+ // may want to switch these back so patterns are compiled immediately on
74+ // ruleset load, for simplicity.
7175 if ( this . compiled ) return ;
7276 var i ;
7377
@@ -615,7 +619,7 @@ const HTTPSRules = {
615619 } ,
616620
617621 // Get all rulesets matching a given target, lazy-loading from DB as necessary.
618- // Returns true if handled immediately: i.e., didn't have to go async.
622+ // Returns true if callback was called immediately: i.e., didn't have to go async.
619623 rulesetsByTargets : function ( targets , callback ) {
620624 var foundIds = [ ] ;
621625 var neededIds = [ ] ;
You can’t perform that action at this time.
0 commit comments