mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-01 16:49:39 +02:00
[mv3] Reject filters with unsupported modifier options
For example, filters with `permissions` option.
This commit is contained in:
parent
634fdde465
commit
de5241ab36
@ -4505,6 +4505,7 @@ FilterContainer.prototype.dnrFromCompiled = function(op, context, ...args) {
|
||||
}
|
||||
break;
|
||||
default:
|
||||
dnrAddRuleError(rule, `Unsupported modifier ${rule.__modifierType}`);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user