Skip to content
This repository has been archived by the owner. It is now read-only.

Find matching filters should check 3p context #167

Merged
merged 2 commits into from Jan 29, 2019
Merged

Conversation

@bbondy
Copy link
Member

bbondy commented Jan 29, 2019

Originally ad-block clients needed to calculate if the context option was 3p or 1p by itself and tell the ad-block lib that. Later we moved that to matches, but we never checked it in find matching filters.

We now automaticlaly calculate it for clients using this function:
Fix #166

@bbondy bbondy self-assigned this Jan 29, 2019
@bbondy bbondy requested a review from pes10k Jan 29, 2019
@pes10k
Copy link
Collaborator

pes10k commented Jan 29, 2019

lgtm, and thanks for choosing that as the additional new test :)

@pes10k
pes10k approved these changes Jan 29, 2019
@bbondy
Copy link
Member Author

bbondy commented Jan 29, 2019

np this was the new test that would fail with the old code btw:
https://github.com/brave/ad-block/pull/167/files#diff-e7aab1bb6211409d8b962b4550dc6b09R451

@bbondy bbondy merged commit 655bd35 into master Jan 29, 2019
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@bsclifton bsclifton deleted the find-matching-filters branch Apr 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.