Skip to content

Commit

Permalink
Add permissions= handling to built-in benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Jul 10, 2023
1 parent 0f6400c commit ff7c3d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/js/benchmarks.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit ff7c3d0

Please sign in to comment.