1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-03 09:39:38 +02:00

Use removeparam, queryprune is deprecated

This commit is contained in:
Raymond Hill 2021-12-04 10:52:24 -05:00
parent 7428e117b5
commit 1becd8ad18
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -171,7 +171,7 @@ const loadBenchmarkDataset = (( ) => {
else if ( r === 2 ) { allowCount += 1; }
if ( r !== 1 ) {
if ( staticNetFilteringEngine.hasQuery(fctxt) ) {
staticNetFilteringEngine.filterQuery(fctxt, 'queryprune');
staticNetFilteringEngine.filterQuery(fctxt, 'removeparam');
}
if ( fctxt.type === 'main_frame' || fctxt.type === 'sub_frame' ) {
staticNetFilteringEngine.matchAndFetchModifiers(fctxt, 'csp');