Skip to content

Commit

Permalink
Add matchDebug() for Cliqz
Browse files Browse the repository at this point in the history
  • Loading branch information
mjethani committed Aug 12, 2021
1 parent 15ce757 commit ec7ea79
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/adblocker-benchmarks/blockers/cliqz-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,12 @@ module.exports = class Cliqz {
type,
})).match;
}

matchDebug({ url, frameUrl, type }) {
return this.engine.match(Request.fromRawDetails({
url,
sourceUrl: frameUrl,
type,
})).filter || null;
}
};

0 comments on commit ec7ea79

Please sign in to comment.