| Index: test/subscriptionClasses.js |
| =================================================================== |
| --- a/test/subscriptionClasses.js |
| +++ b/test/subscriptionClasses.js |
| @@ -115,17 +115,21 @@ |
| exports.testSubscriptionDefaults = function(test) |
| { |
| let tests = [ |
| ["blocking", "test"], |
| ["whitelist", "@@test"], |
| ["elemhide", "##test"], |
| ["elemhide", "#@#test"], |
| - ["elemhide", "foo##[-abp-properties='foo']"], |
| + ["elemhide", "foo##:-abp-properties(foo)"], |
| + ["elemhide", "foo#?#:-abp-properties(foo)"], |
| + // Invalid elemhide filter. Incorrectly classified as blocking. |
| + // See https://issues.adblockplus.org/ticket/6234 |
| + ["blocking", "foo#@?#:-abp-properties(foo)"], |
| ["", "!test"], |
| ["", "/??/"], |
| ["blocking whitelist", "test", "@@test"], |
| ["blocking elemhide", "test", "##test"] |
| ]; |
| for (let [defaults, ...filters] of tests) |
| { |