Skip to content

Commit 2c6063f

Browse files
committed
Test matching for eTLD+1 on the private list
1 parent 6133e7d commit 2c6063f

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

tracker-radar-tests/TR-domain-matching/domain_matching_tests.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -975,6 +975,20 @@
975975
"requestURL": "https://sub1asub2.format.test/test6.js",
976976
"requestType": "script",
977977
"expectAction": "ignore"
978+
},
979+
{
980+
"name": "private eTLD tracker - default block match",
981+
"siteURL": "https://example.com",
982+
"requestURL": "https://privateetld.appspot.com/script.js",
983+
"requestType": "script",
984+
"expectAction": "block"
985+
},
986+
{
987+
"name": "private eTLD other domain - no match",
988+
"siteURL": "https://example.com",
989+
"requestURL": "https://other.appspot.com/script.js",
990+
"requestType": "script",
991+
"expectAction": "ignore"
978992
}
979993
]
980994
},

tracker-radar-tests/TR-domain-matching/tracker_radar_reference.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -798,6 +798,15 @@
798798
"action": "ignore"
799799
}
800800
]
801+
},
802+
"privateetld.appspot.com": {
803+
"domain": "privateetld.appspot.com",
804+
"owner": {},
805+
"prevalence": 0.1,
806+
"fingerprinting": 2,
807+
"cookies": 0.1,
808+
"categories": [],
809+
"default": "block"
801810
}
802811
},
803812
"entities": {

0 commit comments

Comments
 (0)