CARVIEW |
Select Language
HTTP/2 200
date: Mon, 06 Oct 2025 02:23:48 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/jquery/jquery.git
etag: W/"7ecbc7309f67171c23c222fcf90f0704"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=rrO2zbI00OmRMtdhD%2BZ4zdk9wegPsN2Ene%2FuqywMq9Ipycu%2FD19jAqeyzojJKAvoTdk3leSQE9PDlP7POcNj9Lx%2B5LAHfOyOLIe4XybSlte9vOJsXiLMnjbCFffWNe%2Fj3kOOlbrqWxlwGtEGosXGiQ312zq4PAr749II95NRrxmNMmg%2B326fFiW2TSgS0ActpaeU4ywLFn3kZIJLcccpYG39qiHVVRxBvyAj9LLtw1GuwOBrRdfPLpbVGmLw74ev%2B1zQtd9hbVSyUIeXkI%2FFBg%3D%3D--GzfQne0bb8ynRoUS--NknwE%2BKsLERJS7Puvr4Msg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1851266072.1759717427; Path=/; Domain=github.com; Expires=Tue, 06 Oct 2026 02:23:47 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 06 Oct 2026 02:23:47 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8BB4:3DC338:21A6DB2:2BA2D4B:68E32833
Tests: Exclude tests based on compilation flags, not API presence (3.… · jquery/jquery@bc16512 · GitHub
Copy file name to clipboard
Copy file name to clipboardExpand all lines: test/data/testinit-jsdom.js
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 20.5k
Commit bc16512
authored
Tests: Exclude tests based on compilation flags, not API presence (3.x version)
Introduces a new test API, `includesModule`. The method returns whether
a particular module like "ajax" or "deprecated" is included in the current
jQuery build; it handles the slim build as well. The util was created so that
we don't treat presence of particular APIs to decide whether to run a test as
then if we accidentally remove an API, the tests would still not fail.
Closes gh-5071
Fixes gh-5069
Ref gh-5046
(partially cherry picked from commit fae5fee)1 parent 0f6c3d9 commit bc16512Copy full SHA for bc16512
File tree
Expand file treeCollapse file tree
24 files changed
+162
-75
lines changedFilter options
- build/tasks
- lib
- test
- data
- unit
Expand file treeCollapse file tree
24 files changed
+162
-75
lines changedCollapse file: build/tasks/build.js
+2-1Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
| 12 | + | |
12 | 13 |
| |
13 | 14 |
| |
14 | 15 |
| |
| |||
348 | 349 |
| |
349 | 350 |
| |
350 | 351 |
| |
351 |
| - | |
| 352 | + | |
352 | 353 |
| |
353 | 354 |
| |
354 | 355 |
| |
|
Collapse file: build/tasks/lib/slim-build-flags.js
build/tasks/lib/slim-build-flags.js
Copy file name to clipboard+7Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + |
Collapse file: test/.eslintrc.json
+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| 22 | + | |
22 | 23 |
| |
23 | 24 |
| |
24 | 25 |
| |
|
Collapse file: test/data/testinit-jsdom.js
test/data/testinit-jsdom.js
Copy file name to clipboardExpand all lines: test/data/testinit-jsdom.js+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
42 | 48 |
| |
43 | 49 |
| |
44 | 50 |
| |
|
Collapse file: test/data/testinit.js
+59-1Lines changed: 59 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
19 | 25 |
| |
20 | 26 |
| |
21 | 27 |
| |
| |||
309 | 315 |
| |
310 | 316 |
| |
311 | 317 |
| |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
312 | 370 |
| |
313 | 371 |
| |
314 | 372 |
| |
|
Collapse file: test/unit/ajax.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
|
Collapse file: test/unit/animation.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
| 4 | + | |
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
|
Collapse file: test/unit/attributes.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
944 | 944 |
| |
945 | 945 |
| |
946 | 946 |
| |
947 |
| - | |
| 947 | + | |
948 | 948 |
| |
949 | 949 |
| |
950 | 950 |
| |
|
Collapse file: test/unit/basic.js
+20-3Lines changed: 20 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
| 36 | + | |
36 | 37 |
| |
37 | 38 |
| |
38 | 39 |
| |
| |||
51 | 52 |
| |
52 | 53 |
| |
53 | 54 |
| |
| 55 | + | |
54 | 56 |
| |
55 |
| - | |
| 57 | + | |
56 | 58 |
| |
57 | 59 |
| |
58 | 60 |
| |
| |||
62 | 64 |
| |
63 | 65 |
| |
64 | 66 |
| |
65 |
| - | |
| 67 | + | |
66 | 68 |
| |
67 | 69 |
| |
68 | 70 |
| |
| |||
123 | 125 |
| |
124 | 126 |
| |
125 | 127 |
| |
| 128 | + | |
126 | 129 |
| |
127 | 130 |
| |
128 | 131 |
| |
| |||
133 | 136 |
| |
134 | 137 |
| |
135 | 138 |
| |
| 139 | + | |
136 | 140 |
| |
| 141 | + | |
137 | 142 |
| |
138 | 143 |
| |
139 | 144 |
| |
| |||
145 | 150 |
| |
146 | 151 |
| |
147 | 152 |
| |
| 153 | + | |
148 | 154 |
| |
| 155 | + | |
149 | 156 |
| |
150 | 157 |
| |
151 | 158 |
| |
| |||
162 | 169 |
| |
163 | 170 |
| |
164 | 171 |
| |
| 172 | + | |
165 | 173 |
| |
| 174 | + | |
166 | 175 |
| |
167 | 176 |
| |
168 | 177 |
| |
| |||
191 | 200 |
| |
192 | 201 |
| |
193 | 202 |
| |
| 203 | + | |
| 204 | + | |
| 205 | + | |
194 | 206 |
| |
195 | 207 |
| |
196 | 208 |
| |
| |||
204 | 216 |
| |
205 | 217 |
| |
206 | 218 |
| |
| 219 | + | |
207 | 220 |
| |
208 | 221 |
| |
209 | 222 |
| |
| |||
215 | 228 |
| |
216 | 229 |
| |
217 | 230 |
| |
| 231 | + | |
218 | 232 |
| |
219 | 233 |
| |
220 | 234 |
| |
| |||
228 | 242 |
| |
229 | 243 |
| |
230 | 244 |
| |
| 245 | + | |
231 | 246 |
| |
232 | 247 |
| |
233 | 248 |
| |
| |||
249 | 264 |
| |
250 | 265 |
| |
251 | 266 |
| |
| 267 | + | |
252 | 268 |
| |
253 | 269 |
| |
254 | 270 |
| |
| |||
279 | 295 |
| |
280 | 296 |
| |
281 | 297 |
| |
| 298 | + |
Collapse file: test/unit/callbacks.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
|
You can’t perform that action at this time.
0 commit comments