mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
[mv3] Reject filters with unsupported modifier options
For example, filters with `permissions` option.
This commit is contained in:
parent
634fdde465
commit
de5241ab36
1 changed files with 1 additions and 0 deletions
|
|
@ -4505,6 +4505,7 @@ FilterContainer.prototype.dnrFromCompiled = function(op, context, ...args) {
|
|||
}
|
||||
break;
|
||||
default:
|
||||
dnrAddRuleError(rule, `Unsupported modifier ${rule.__modifierType}`);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue