[Webkit-unassigned] [Bug 205719] Relax WKContentRuleList rule limit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 19 03:17:57 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=205719

--- Comment #5 from Andrey Meshkov <am at adguard.com> ---
Well, the compilation speed and memory usage is an issue indeed, it is quite problematic even with the current limit.

We may try looking into it, but with the current prefixes-tree implementation I don't think this would be easy to solve.

Would you consider an alternative implementation of the `trigger.url-filter` syntax (maybe with a different name)? Instead of regular expressions, we could use a different syntax, the one that's supported by almost every content blocker: https://kb.adguard.com/en/general/how-to-create-your-own-ad-filters#examples

In Manifest V3 Google uses pretty much the same syntax.

We have a C++ implementation that we can try adapting for WebKit if we agree on details.

> Assuming there is a limit, what limit do you think would be reasonable?

300k

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200219/c0b25171/attachment.htm>


More information about the webkit-unassigned mailing list