File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -64,14 +64,15 @@ const rulesetDir = `${outputDir}/rulesets`;
64
64
const scriptletDir = `${ rulesetDir } /scripting` ;
65
65
const env = [
66
66
platform ,
67
+ 'native_css_has' ,
67
68
'mv3' ,
68
69
'ublock' ,
69
70
'ubol' ,
70
71
'user_stylesheet' ,
71
72
] ;
72
73
73
- if ( platform !== 'firefox ' ) {
74
- env . push ( 'native_css_has ' ) ;
74
+ if ( platform === 'edge ' ) {
75
+ env . push ( 'chromium ' ) ;
75
76
}
76
77
77
78
/******************************************************************************/
@@ -1572,7 +1573,7 @@ async function main() {
1572
1573
resources : Array . from ( requiredRedirectResources ) . map ( path => `/${ path } ` ) ,
1573
1574
matches : [ '<all_urls>' ] ,
1574
1575
} ;
1575
- if ( platform === 'chromium' ) {
1576
+ if ( env . includes ( 'chromium' ) ) {
1576
1577
web_accessible_resources . use_dynamic_url = true ;
1577
1578
}
1578
1579
manifest . web_accessible_resources . push ( web_accessible_resources ) ;
You can’t perform that action at this time.
0 commit comments