mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +01: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;
|
break;
|
||||||
default:
|
default:
|
||||||
|
dnrAddRuleError(rule, `Unsupported modifier ${rule.__modifierType}`);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user