1
0
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:
Raymond Hill 2023-07-09 09:26:50 -04:00
parent 634fdde465
commit de5241ab36
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -4505,6 +4505,7 @@ FilterContainer.prototype.dnrFromCompiled = function(op, context, ...args) {
} }
break; break;
default: default:
dnrAddRuleError(rule, `Unsupported modifier ${rule.__modifierType}`);
break; break;
} }
} }