Skip to content

Commit 07e9f80

Browse files
committed
Allow usage of csp=/permissions= with resource type object
Related issue: uBlockOrigin/uBlock-issues#3746
1 parent 4d4826a commit 07e9f80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/static-filtering-parser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1273,7 +1273,6 @@ export class AstFilterParser {
12731273
case NODE_TYPE_NET_OPTION_NAME_FONT:
12741274
case NODE_TYPE_NET_OPTION_NAME_IMAGE:
12751275
case NODE_TYPE_NET_OPTION_NAME_MEDIA:
1276-
case NODE_TYPE_NET_OPTION_NAME_OBJECT:
12771276
case NODE_TYPE_NET_OPTION_NAME_OTHER:
12781277
case NODE_TYPE_NET_OPTION_NAME_SCRIPT:
12791278
case NODE_TYPE_NET_OPTION_NAME_XHR:
@@ -1301,6 +1300,7 @@ export class AstFilterParser {
13011300
break;
13021301
case NODE_TYPE_NET_OPTION_NAME_DOC:
13031302
case NODE_TYPE_NET_OPTION_NAME_FRAME:
1303+
case NODE_TYPE_NET_OPTION_NAME_OBJECT:
13041304
realBad = hasValue;
13051305
if ( realBad ) { break; }
13061306
docTypeCount += 1;

0 commit comments

Comments
 (0)