mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Allow usage of csp=/permissions= with resource type object
Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3746
This commit is contained in:
parent
4d4826a029
commit
07e9f805bb
1 changed files with 1 additions and 1 deletions
|
|
@ -1273,7 +1273,6 @@ export class AstFilterParser {
|
|||
case NODE_TYPE_NET_OPTION_NAME_FONT:
|
||||
case NODE_TYPE_NET_OPTION_NAME_IMAGE:
|
||||
case NODE_TYPE_NET_OPTION_NAME_MEDIA:
|
||||
case NODE_TYPE_NET_OPTION_NAME_OBJECT:
|
||||
case NODE_TYPE_NET_OPTION_NAME_OTHER:
|
||||
case NODE_TYPE_NET_OPTION_NAME_SCRIPT:
|
||||
case NODE_TYPE_NET_OPTION_NAME_XHR:
|
||||
|
|
@ -1301,6 +1300,7 @@ export class AstFilterParser {
|
|||
break;
|
||||
case NODE_TYPE_NET_OPTION_NAME_DOC:
|
||||
case NODE_TYPE_NET_OPTION_NAME_FRAME:
|
||||
case NODE_TYPE_NET_OPTION_NAME_OBJECT:
|
||||
realBad = hasValue;
|
||||
if ( realBad ) { break; }
|
||||
docTypeCount += 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue