AdguardTeam / tsurlfilter

AdGuard content blocking library
GNU General Public License v3.0
56 stars 12 forks source link

Invalid rule in test cases #65

Open scripthunter7 opened 1 year ago

scripthunter7 commented 1 year ago

If I understand correctly, the following rule is invalid in uBO syntax:

example.org##+js(setTimeout-defuser.js, [native code], 8000):matches-path(/page)

One test case uses this rule: https://github.com/AdguardTeam/tsurlfilter/blob/master/packages/tsurlfilter/test/rules/rule-converter.test.ts#L569

Reference:

scripthunter7 commented 1 year ago

related https://github.com/uBlockOrigin/uBlock-issues/issues/2465