[Webkit-unassigned] [Bug 206923] New: Content blocker: ignore and report problematic rules instead of refusing to load the whole content blocker

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 29 02:25:31 PST 2020


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

            Bug ID: 206923
           Summary: Content blocker: ignore and report problematic rules
                    instead of refusing to load the whole content blocker
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: am at adguard.com

The problem with the current approach is that any invalid rule breaks the content blocker completely. Also, there's no way to learn what exact rule is invalid, we even had to come up with a script that uses some kind of a "binary search" algorithm to find problematic rules. Overall, this experience is really painful for people who are trying to create content blockers.

Here's what I suggest:

1. Ignore problematic rules instead of throwing out the whole content blocker.
2. Extend the setContentBlocker callback parameter and put a list with the problematic rules there.

-- 
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/20200129/da2e9100/attachment.htm>


More information about the webkit-unassigned mailing list