Skip to content

Commit

Permalink
Fix improper invalidation of inline-(font|script) types
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Feb 15, 2023
1 parent e39f815 commit c8c5264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/static-filtering-parser.js
Expand Up @@ -1298,7 +1298,7 @@ export class AstFilterParser {
break;
case NODE_TYPE_NET_OPTION_NAME_INLINEFONT:
case NODE_TYPE_NET_OPTION_NAME_INLINESCRIPT:
realBad = abstractTypeCount || behaviorTypeCount;
realBad = behaviorTypeCount;
break;
case NODE_TYPE_NET_OPTION_NAME_EMPTY:
realBad = abstractTypeCount || behaviorTypeCount;
Expand Down

0 comments on commit c8c5264

Please sign in to comment.