Changes between Version 9 and Version 10 of Ticket #7243


Ignore:
Timestamp:
01/31/2019 06:57:57 AM (3 months ago)
Author:
mjethani
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7243 – Description

    v9 v10  
    3232 
    3333=== Hints for testers === 
    34 [TODO] 
     34See #7178, #7208, #7209, #7235, #7244, #7245, and #7067 for testing hints related to those changes in adblockpluscore. 
     35 
     36For the additional changes here: 
     37 
     38 1.  Make sure the DevTools panel is working in general and that filter hits are getting logged as expected. 
     39 2.  For CSP filters, make sure all matching CSP filters are applied. For example, if there are two filters `/foo/*$csp=script-src 'none'` and `/foo/*$csp=img-src 'none'`, then both scripts and images should be blocked entirely on a document whose URL matches the pattern `/foo/*`. 
     40 3.  Multiple CSP filter hits should get logged in the DevTools panel. If there are two filters `/foo/*$csp=img-src 'none'` and `/bar/*$csp=img-src 'none'`, then on the document `https://example.com/foo/bar/index.html` both filters should get hit and both should get logged in the DevTools panel. 
     41 4.  In the case of whitelist CSP filters, only the first matching filter should get logged in the DevTools panel. For example, with `@@/foo/*$csp` and `@@/bar/*$csp`, only one of them should get hit and logged in the DevTools panel on the document `https://example.com/foo/bar/index.html`.  
     42 5.  Check that the `$third-party` filter option is working. If there's a filter like `/foo/*$third-party` then it should block a request to `https://example.com/foo/bar/` ''only'' if the request is coming from a document ''not'' loaded from `example.com`. If the flag is flipped instead so that the filter looks like `/foo/*$~third-party`, then it should ''not'' block the request ''unless'' it is coming from `example.com`.