1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02:00

[mv3] Fix converter to DNR rules

This commit is contained in:
Raymond Hill 2023-11-03 21:32:44 -04:00
parent 4c48148eb2
commit 4774a39b17
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -4352,7 +4352,11 @@ FilterContainer.prototype.dnrFromCompiled = function(op, context, ...args) {
const realms = new Map([
[ BLOCK_REALM, 'block' ],
[ ALLOW_REALM, 'allow' ],
[ MODIFY_REALMS, 'modify' ],
[ REDIRECT_REALM, 'redirect' ],
[ REMOVEPARAM_REALM, 'removeparam' ],
[ CSP_REALM, 'csp' ],
[ PERMISSIONS_REALM, 'permissions' ],
[ URLTRANSFORM_REALM, 'urltransform' ],
]);
const partyness = new Map([
[ ANYPARTY_REALM, '' ],