[Webkit-unassigned] [Bug 169167] REGRESSION: Content Blocker: Blocking "a[href*=randomString]" doesn't work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 16 16:15:45 PDT 2017


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

--- Comment #7 from Alex Christensen <achristensen at apple.com> ---
I tried to reproduce this and found everything working correctly.  Here are my steps for reproduction:

1) Put this into test.json on my desktop:
[{"trigger":{"url-filter": ".*"},"action":{"selector":"a[href*=randomString]","type":"css-display-none"}}]
2) Put this into test.html on my desktop:
<body><a href="http://webkit.org/randomString">This should be hidden.</a>This should not</body>
2) Compile WebKit and run Tools/Scripts/run-minibrowser
3) Open a new WebKit2 window in MiniBrowser.
4) In MiniBrowser's Debug menu, open the extensions manager.
5) Add test.json.
6) Notice that "This should be hidden." disappears.

This indicates that everything seems to be working correctly. If you find a modification to my reproduction steps that shows incorrect behavior, please elaborate.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170316/8103afa0/attachment.html>


More information about the webkit-unassigned mailing list