Skip to content

Commit 3b81841

Browse files
committed
Properly set resource URL in benchmark loop
1 parent 553ba2c commit 3b81841

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/static-net-filtering.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2754,7 +2754,7 @@ FilterContainer.prototype.benchmark = function() {
27542754
const fctxt = µb.filteringContext;
27552755
const t0 = self.performance.now();
27562756
for ( const request of requests ) {
2757-
fctxt.url = request.url;
2757+
fctxt.setURL(request.url);
27582758
fctxt.setDocOriginFromURL(request.frameUrl);
27592759
fctxt.setType(request.cpt);
27602760
void this.matchString(fctxt);

0 commit comments

Comments
 (0)