[Webkit-unassigned] [Bug 148446] New: Invalid CSS Selector for Content Blockers invalidates others

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 25 14:21:24 PDT 2015


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

            Bug ID: 148446
           Summary: Invalid CSS Selector for Content Blockers invalidates
                    others
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: reuseaddress-luke at yahoo.com

Ex:

[{
  "action" : {
    "type" : "css-display-none",
    "selector" : "body{"
  },
  "trigger" : {
    "url-filter" : ".*"
  }
},{
  "action" : {
    "type" : "css-display-none",
    "selector" : ".valid-selector"
  },
  "trigger" : {
    "url-filter" : ".*"
  }
}]

.valid-selector doesn't trigger because body{ is an invalid selector, even though they are in separate rules. Caused b/c rules are combined into one selector, per @awfulben on twitter.

-- 
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/20150825/d3f82510/attachment.html>


More information about the webkit-unassigned mailing list