mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Add permissions= handling to built-in benchmark
This commit is contained in:
parent
0f6400c160
commit
ff7c3d0ad6
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue