Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate 'isFirstParty' logic for tracker that only has eTLD+2 domain defined #132

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@
"requestType": "script",
"expectAction": "ignore"
},
{
"name": "same party ignore with deeper subdomain",
"siteURL": "https://bad.etld-plus-two.site/",
"requestURL": "https://bad.etld-plus-two.site/script.js",
"requestType": "script",
"expectAction": "ignore"
},
{
"name": "tracker loads ignore",
"siteURL": "https://bad.third-party.site/",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,21 @@
"rules": [],
"default": "ignore"
},
"bad.etld-plus-two.site": {
"domain": "bad.etld-plus-two.site",
"owner": {
"name": "Test Site for Tracker Blocking With eTLD+2",
"displayName": "Bad Third Party Site eTLD+2",
"privacyPolicy": "",
"url": "http://bad.etld-plus-two.site"
},
"prevalence": 0.1,
"fingerprinting": 3,
"cookies": 0.1,
"categories": [],
"default": "block",
"rules": []
},
"tracker.test": {
"domain": "tracker.test",
"owner": {
Expand Down Expand Up @@ -819,6 +834,13 @@
"prevalence": 0.1,
"displayName": "Test Site for Tracker Blocking"
},
"Test Site for Tracker Blocking With eTLD+2": {
"domains": [
"bad.etld-plus-two.site"
],
"prevalence": 0.1,
"displayName": "Bad Third Party Site eTLD+2"
},
"Tests for formatting": {
"domains": [
"format.test"
Expand Down Expand Up @@ -876,6 +898,7 @@
"bad.third-party.site": "Test Site for Tracker Blocking",
"sometimes-bad.third-party.site": "Test Site for Tracker Blocking",
"broken.third-party.site": "Test Site for Tracker Blocking",
"bad.etld-plus-two.site": "Test Site for Tracker Blocking With eTLD+2",
"format.test": "Tests for formatting",
"third-party.site": "Test Site for Tracker Blocking",
"tracker.test": "Test Site for Tracker Blocking",
Expand Down
Loading