[Webkit-unassigned] [Bug 207540] Allow Content Blocker lists to contain both if/unless-domain and if/unless-top-url trigger fields

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 19 16:52:00 PDT 2020


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

Alex Christensen <achristensen at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Alex Christensen <achristensen at apple.com> ---
This is intentional.  We want to limit the number of times we must run URLs through the finite state machine.  if-domain and unless-domain runs the domain of the top URL though the finite state machine.  if-top-url and unless-top-url run the whole top URL through the finite state machine.  If you want "both" then write a regular expression that, when run on the entire top URL, looks at the domain, like this:
"unless-top-url": [".*://foo.com/", ".*://bar.com/"]

-- 
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/20200319/9f73bd7e/attachment-0001.htm>


More information about the webkit-unassigned mailing list