-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathtests.json
More file actions
117 lines (117 loc) · 4.46 KB
/
tests.json
File metadata and controls
117 lines (117 loc) · 4.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"fireButtonFireproofing": {
"name": "Fire Button & Fireproofing",
"desc": "Fire button should clear all storage unless site is fireproofed",
"fireproofedSites": [
"https://fireproofed.com/",
"https://sub.no-fire.com/path/file.html?query=value#frag",
"fireproofed.co.uk",
"a.github.io"
],
"tests": [
{
"name": "unfireproofed domain - cookie should be cleared",
"cookieDomain": ".example.com",
"cookieName": "test",
"expectCookieRemoved": true,
"exceptPlatforms": []
},
{
"name": "unfireproofed domain - cookie should be cleared",
"cookieDomain": "example.co.uk",
"cookieName": "test",
"expectCookieRemoved": true,
"exceptPlatforms": []
},
{
"name": "unfireproofed domain - cookie should be cleared",
"cookieDomain": "b.github.io",
"cookieName": "test",
"expectCookieRemoved": true,
"exceptPlatforms": []
},
{
"name": "fireproofed domain - cookie should not be cleared",
"cookieDomain": "fireproofed.co.uk",
"cookieName": "test",
"expectCookieRemoved": false,
"exceptPlatforms": []
},
{
"name": "fireproofed domain - cookie should not be cleared",
"cookieDomain": "a.github.io",
"cookieName": "test",
"expectCookieRemoved": false,
"exceptPlatforms": []
},
{
"name": "subdomain is fireproofed - cookie should not be cleared",
"cookieDomain": "no-fire.com",
"cookieName": "test",
"expectCookieRemoved": false,
"exceptPlatforms": [
"ios-browser",
"android-browser"
]
},
{
"name": "subdomain is fireproofed, cookie is using dot notation - it should not be cleared",
"cookieDomain": ".no-fire.com",
"cookieName": "test",
"expectCookieRemoved": false,
"exceptPlatforms": []
},
{
"name": "fireproofed subdomain match - cookie should not be cleared",
"cookieDomain": "sub.no-fire.com",
"cookieName": "test",
"expectCookieRemoved": false,
"exceptPlatforms": []
},
{
"name": "fireproofed subdomain match, cookie is using dot notation - cookie should not be cleared",
"cookieDomain": ".sub.no-fire.com",
"cookieName": "test",
"expectCookieRemoved": false,
"exceptPlatforms": [
"ios-browser",
"android-browser"
]
},
{
"name": "subdomain for the fireproofed hostname - cookie should not be cleared",
"cookieDomain": "sub.sub.no-fire.com",
"cookieName": "test",
"expectCookieRemoved": false,
"exceptPlatforms": [
"ios-browser",
"android-browser"
]
},
{
"name": "cookie is set on a subdomain of a fireproofed domain - cookie should not be cleared",
"cookieDomain": "sub.fireproofed.com",
"cookieName": "test",
"expectCookieRemoved": false,
"exceptPlatforms": [
"ios-browser",
"android-browser"
]
},
{
"name": "fireproofing match, cookie is using dot notation - cookie should not be cleared",
"cookieDomain": ".fireproofed.com",
"cookieName": "test",
"expectCookieRemoved": false,
"exceptPlatforms": []
},
{
"name": "duckduckgo.com settings cookie - cookie should not be cleared",
"cookieDomain": "duckduckgo.com",
"cookieName": "setting",
"expectCookieRemoved": false,
"exceptPlatforms": []
}
]
}
}