Skip to content

Commit

Permalink
Properly set resource URL in benchmark loop
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Feb 17, 2019
1 parent 553ba2c commit 3b81841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/static-net-filtering.js
Original file line number Diff line number Diff line change
Expand Up @@ -2754,7 +2754,7 @@ FilterContainer.prototype.benchmark = function() {
const fctxt = µb.filteringContext;
const t0 = self.performance.now();
for ( const request of requests ) {
fctxt.url = request.url;
fctxt.setURL(request.url);
fctxt.setDocOriginFromURL(request.frameUrl);
fctxt.setType(request.cpt);
void this.matchString(fctxt);
Expand Down

0 comments on commit 3b81841

Please sign in to comment.