Changes between Version 10 and Version 11 of Ticket #7268


Ignore:
Timestamp:
02/14/2019 03:02:38 AM (7 months ago)
Author:
mjethani
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7268 – Description

    v10 v11  
    11=== Environment === 
    2 `ContainsSelector` element hide emulation doesn't work with {} in regexp. 
    3 This is because in `ElemHideBase.selector()` we escape  
    4 `{` and `}` to prevent CSS injection but the `ContainsSelector` constructor doesn't put them back. 
     2ABP 3.4.3 
     3Any supported browser 
     4Any supported OS 
     5No filter lists 
    56 
    67=== How to reproduce === 
     
    1617=== Expected behaviour === 
    1718The filter should hide the element containing the text `Badbadbad`. 
     19 
     20=== Additional notes === 
     21 
     22`ContainsSelector` element hide emulation doesn't work with {} in regexp. 
     23This is because in `ElemHideBase.selector()` we escape  
     24`{` and `}` to prevent CSS injection but the `ContainsSelector` constructor doesn't put them back. 
     25