Bug 1996577 - Update PSL single wildcard rule test. r=necko-reviewers,jesup a=test-only DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D270203
This commit is contained in:
committed by
rvandermeulen@mozilla.com
parent
0717b5233e
commit
8e86cc330f
@@ -38,10 +38,10 @@ checkPublicSuffix('b.example.uk.com', 'example.uk.com');
|
||||
checkPublicSuffix('a.b.example.uk.com', 'example.uk.com');
|
||||
checkPublicSuffix('test.ac', 'test.ac');
|
||||
// TLD with only 1 (wildcard) rule.
|
||||
checkPublicSuffix('bd', null);
|
||||
checkPublicSuffix('c.bd', null);
|
||||
checkPublicSuffix('b.c.bd', 'b.c.bd');
|
||||
checkPublicSuffix('a.b.c.bd', 'b.c.bd');
|
||||
checkPublicSuffix('er', null);
|
||||
checkPublicSuffix('c.er', null);
|
||||
checkPublicSuffix('b.c.er', 'b.c.er');
|
||||
checkPublicSuffix('a.b.c.er', 'b.c.er');
|
||||
// More complex TLD.
|
||||
checkPublicSuffix('jp', null);
|
||||
checkPublicSuffix('test.jp', 'test.jp');
|
||||
|
||||
Reference in New Issue
Block a user