mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-04 01:59:38 +02:00
Add permissions=
handling to built-in benchmark
This commit is contained in:
parent
0f6400c160
commit
ff7c3d0ad6
@ -186,8 +186,9 @@ const loadBenchmarkDataset = (( ) => {
|
||||
}
|
||||
if ( fctxt.type === 'main_frame' || fctxt.type === 'sub_frame' ) {
|
||||
staticNetFilteringEngine.matchAndFetchModifiers(fctxt, 'csp');
|
||||
staticNetFilteringEngine.matchAndFetchModifiers(fctxt, 'permissions');
|
||||
}
|
||||
staticNetFilteringEngine.matchHeaders(fctxt, []);
|
||||
//staticNetFilteringEngine.matchHeaders(fctxt, []);
|
||||
} else if ( redirectEngine !== undefined ) {
|
||||
staticNetFilteringEngine.redirectRequest(redirectEngine, fctxt);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user