1
0
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:
Raymond Hill 2023-07-10 12:00:02 -04:00
parent 0f6400c160
commit ff7c3d0ad6
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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);
}