|
5 | 5 | "url": "https://naver.com", |
6 | 6 | "profile": "desktop", |
7 | 7 | "primaryFlow": "desktop-homepage", |
8 | | - "readiness": [ |
9 | | - "body", |
10 | | - "a[href]" |
11 | | - ], |
12 | | - "primarySelectors": [ |
13 | | - "body", |
14 | | - "a[href]", |
15 | | - "input[type=search], input[name=query], input[name=q]" |
16 | | - ], |
| 8 | + "readiness": ["body", "a[href]"], |
| 9 | + "primarySelectors": ["body", "a[href]", "input[type=search], input[name=query], input[name=q]"], |
17 | 10 | "iframeExpectations": { |
18 | 11 | "adCandidates": true |
19 | 12 | } |
|
24 | 17 | "url": "https://m.naver.com", |
25 | 18 | "profile": "mobile", |
26 | 19 | "primaryFlow": "mobile-homepage", |
27 | | - "readiness": [ |
28 | | - "body", |
29 | | - "a[href]" |
30 | | - ], |
31 | | - "primarySelectors": [ |
32 | | - "body", |
33 | | - "a[href]", |
34 | | - "input[type=search], input[name=query], input[name=q]" |
35 | | - ], |
| 20 | + "readiness": ["body", "a[href]"], |
| 21 | + "primarySelectors": ["body", "a[href]", "input[type=search], input[name=query], input[name=q]"], |
36 | 22 | "iframeExpectations": { |
37 | 23 | "adCandidates": true |
38 | 24 | }, |
|
50 | 36 | "url": "https://www.google.com/search?q=zeroproxy", |
51 | 37 | "profile": "desktop", |
52 | 38 | "primaryFlow": "search-results", |
53 | | - "readiness": [ |
54 | | - "body" |
55 | | - ], |
56 | | - "primarySelectors": [ |
57 | | - "textarea[name=q], input[name=q]", |
58 | | - "#search, [role=main]", |
59 | | - "a[href]" |
60 | | - ], |
| 39 | + "readiness": ["body"], |
| 40 | + "primarySelectors": ["textarea[name=q], input[name=q]", "#search, [role=main]", "a[href]"], |
61 | 41 | "expectedDeltas": [ |
62 | 42 | { |
63 | 43 | "surface": "rendering", |
|
72 | 52 | "url": "https://www.google.com/maps", |
73 | 53 | "profile": "desktop", |
74 | 54 | "primaryFlow": "maps-shell", |
75 | | - "readiness": [ |
76 | | - "body" |
77 | | - ], |
| 55 | + "readiness": ["body"], |
78 | 56 | "primarySelectors": [ |
79 | 57 | "input[aria-label], input[role=combobox], #searchboxinput", |
80 | 58 | "canvas, [role=application], [aria-label*=Map], [aria-label*=map]" |
|
96 | 74 | "fixture": "embedded-google-maps.html", |
97 | 75 | "profile": "desktop", |
98 | 76 | "primaryFlow": "embedded-map-iframe", |
99 | | - "readiness": [ |
100 | | - "iframe[data-corpus-google-maps]" |
101 | | - ], |
102 | | - "primarySelectors": [ |
103 | | - "main", |
104 | | - "iframe[data-corpus-google-maps]" |
105 | | - ], |
| 77 | + "readiness": ["iframe[data-corpus-google-maps]"], |
| 78 | + "primarySelectors": ["main", "iframe[data-corpus-google-maps]"], |
106 | 79 | "iframeExpectations": { |
107 | 80 | "nonBlank": true, |
108 | 81 | "googleMaps": true |
|
121 | 94 | "url": "https://www.wikipedia.org", |
122 | 95 | "profile": "desktop", |
123 | 96 | "primaryFlow": "static-homepage", |
124 | | - "readiness": [ |
125 | | - "body" |
126 | | - ], |
127 | | - "primarySelectors": [ |
128 | | - "input[name=search], input[type=search]", |
129 | | - "a[href]", |
130 | | - "main, body" |
131 | | - ] |
| 97 | + "readiness": ["body"], |
| 98 | + "primarySelectors": ["input[name=search], input[type=search]", "a[href]", "main, body"] |
132 | 99 | }, |
133 | 100 | { |
134 | 101 | "id": "github", |
135 | 102 | "site": "github.com", |
136 | 103 | "url": "https://github.com", |
137 | 104 | "profile": "desktop", |
138 | 105 | "primaryFlow": "unauthenticated-homepage", |
139 | | - "readiness": [ |
140 | | - "body" |
141 | | - ], |
142 | | - "primarySelectors": [ |
143 | | - "header, nav", |
144 | | - "a[href]", |
145 | | - "main, [role=main]" |
146 | | - ], |
| 106 | + "readiness": ["body"], |
| 107 | + "primarySelectors": ["header, nav", "a[href]", "main, [role=main]"], |
147 | 108 | "expectedDeltas": [ |
148 | 109 | { |
149 | 110 | "surface": "rendering", |
|
158 | 119 | "url": "https://news.ycombinator.com", |
159 | 120 | "profile": "desktop", |
160 | 121 | "primaryFlow": "link-list", |
161 | | - "readiness": [ |
162 | | - "body" |
163 | | - ], |
164 | | - "primarySelectors": [ |
165 | | - ".athing, .titleline", |
166 | | - "a[href]", |
167 | | - "table" |
168 | | - ] |
| 122 | + "readiness": ["body"], |
| 123 | + "primarySelectors": [".athing, .titleline", "a[href]", "table"] |
169 | 124 | }, |
170 | 125 | { |
171 | 126 | "id": "reddit", |
172 | 127 | "site": "reddit.com", |
173 | 128 | "url": "https://www.reddit.com", |
174 | 129 | "profile": "desktop", |
175 | 130 | "primaryFlow": "app-shell-feed", |
176 | | - "readiness": [ |
177 | | - "body" |
178 | | - ], |
179 | | - "primarySelectors": [ |
180 | | - "body", |
181 | | - "a[href]", |
182 | | - "shreddit-app, [role=main], main" |
183 | | - ] |
| 131 | + "readiness": ["body"], |
| 132 | + "primarySelectors": ["body", "a[href]", "shreddit-app, [role=main], main"] |
184 | 133 | }, |
185 | 134 | { |
186 | 135 | "id": "x-com", |
187 | 136 | "site": "x.com", |
188 | 137 | "url": "https://x.com", |
189 | 138 | "profile": "desktop", |
190 | 139 | "primaryFlow": "unauthenticated-landing", |
191 | | - "readiness": [ |
192 | | - "body" |
193 | | - ], |
194 | | - "primarySelectors": [ |
195 | | - "body", |
196 | | - "a[href], [role=button]", |
197 | | - "main, [role=main]" |
198 | | - ], |
| 140 | + "readiness": ["body"], |
| 141 | + "primarySelectors": ["body", "a[href], [role=button]", "main, [role=main]"], |
199 | 142 | "expectedDeltas": [ |
200 | 143 | { |
201 | 144 | "surface": "rendering", |
|
210 | 153 | "url": "https://www.amazon.com", |
211 | 154 | "profile": "desktop", |
212 | 155 | "primaryFlow": "commerce-homepage", |
213 | | - "readiness": [ |
214 | | - "body" |
215 | | - ], |
216 | | - "primarySelectors": [ |
217 | | - "input[type=search], input[name=field-keywords]", |
218 | | - "a[href]", |
219 | | - "img" |
220 | | - ], |
| 156 | + "readiness": ["body"], |
| 157 | + "primarySelectors": ["input[type=search], input[name=field-keywords]", "a[href]", "img"], |
221 | 158 | "expectedDeltas": [ |
222 | 159 | { |
223 | 160 | "surface": "rendering", |
|
232 | 169 | "url": "https://www.nytimes.com", |
233 | 170 | "profile": "desktop", |
234 | 171 | "primaryFlow": "news-homepage", |
235 | | - "readiness": [ |
236 | | - "body" |
237 | | - ], |
238 | | - "primarySelectors": [ |
239 | | - "main, [role=main]", |
240 | | - "a[href]", |
241 | | - "img, picture" |
242 | | - ], |
| 172 | + "readiness": ["body"], |
| 173 | + "primarySelectors": ["main, [role=main]", "a[href]", "img, picture"], |
243 | 174 | "expectedDeltas": [ |
244 | 175 | { |
245 | 176 | "surface": "script-runtime", |
|
254 | 185 | "url": "https://www.cloudflare.com", |
255 | 186 | "profile": "desktop", |
256 | 187 | "primaryFlow": "security-baseline-homepage", |
257 | | - "readiness": [ |
258 | | - "body" |
259 | | - ], |
260 | | - "primarySelectors": [ |
261 | | - "main, [role=main]", |
262 | | - "nav, header", |
263 | | - "a[href]" |
264 | | - ], |
| 188 | + "readiness": ["body"], |
| 189 | + "primarySelectors": ["main, [role=main]", "nav, header", "a[href]"], |
265 | 190 | "expectedDeltas": [ |
266 | 191 | { |
267 | 192 | "surface": "navigation", |
|
276 | 201 | "url": "https://ipleak.net", |
277 | 202 | "profile": "desktop", |
278 | 203 | "primaryFlow": "leak-test-surface", |
279 | | - "readiness": [ |
280 | | - "body" |
281 | | - ], |
282 | | - "primarySelectors": [ |
283 | | - "body", |
284 | | - "#content, main, table", |
285 | | - "iframe, section, div" |
286 | | - ], |
| 204 | + "readiness": ["body"], |
| 205 | + "primarySelectors": ["body", "#content, main, table", "iframe, section, div"], |
287 | 206 | "redaction": { |
288 | 207 | "coarseIpDnsClassesOnly": true |
289 | 208 | }, |
290 | | - "unsupportedSurfaces": [ |
291 | | - "webrtc", |
292 | | - "webtransport" |
293 | | - ] |
| 209 | + "unsupportedSurfaces": ["webrtc", "webtransport"] |
294 | 210 | } |
295 | 211 | ] |
0 commit comments