|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 15-Mar-2021 | - |
| .github/ | H | 15-Mar-2021 | - | 140 | 134 |
| .well-known/ | H | 15-Mar-2021 | - | 67 | 47 |
| BackgroundSync/ | H | 03-May-2022 | - | 4 | 3 |
| FileAPI/ | H | 03-May-2022 | - | 7 | 6 |
| IndexedDB/ | H | 03-May-2022 | - | 14,685 | 12,031 |
| WebCryptoAPI/ | H | 03-May-2022 | - | 83 | 64 |
| WebIDL/ | H | 03-May-2022 | - | 3,872 | 3,513 |
| accelerometer/ | H | 03-May-2022 | - | 13 | 9 |
| accname/ | H | 03-May-2022 | - | 5 | 4 |
| acid/ | H | 15-Mar-2021 | - | 89 | 65 |
| ambient-light/ | H | 03-May-2022 | - | 13 | 9 |
| animation-worklet/ | H | 03-May-2022 | - | 6 | 5 |
| annotation-model/ | H | 15-Mar-2021 | - | 14,447 | 13,850 |
| annotation-protocol/ | H | 03-May-2022 | - | 1,279 | 1,117 |
| annotation-vocab/ | H | 03-May-2022 | - | 391 | 316 |
| apng/ | H | 03-May-2022 | - | 6 | 5 |
| appmanifest/ | H | 15-Mar-2021 | - | 8 | 7 |
| audio-output/ | H | 03-May-2022 | - | 5 | 4 |
| background-fetch/ | H | 03-May-2022 | - | 9 | 6 |
| badging/ | H | 03-May-2022 | - | | |
| battery-status/ | H | 03-May-2022 | - | 10 | 7 |
| beacon/ | H | 03-May-2022 | - | 144 | 102 |
| bluetooth/ | H | 15-Mar-2021 | - | 380 | 263 |
| clear-site-data/ | H | 03-May-2022 | - | 49 | 39 |
| client-hints/ | H | 03-May-2022 | - | 297 | 235 |
| clipboard-apis/ | H | 03-May-2022 | - | 4 | 3 |
| common/ | H | 03-May-2022 | - | 2,984 | 2,378 |
| compat/ | H | 03-May-2022 | - | 6 | 5 |
| compression/ | H | 03-May-2022 | - | 29 | 22 |
| conformance-checkers/ | H | 03-May-2022 | - | 17,241 | 16,490 |
| console/ | H | 03-May-2022 | - | 6 | 5 |
| contacts/resources/ | H | 03-May-2022 | - | | |
| content-dpr/resources/ | H | 03-May-2022 | - | 25 | 23 |
| content-index/resources/ | H | 03-May-2022 | - | | |
| content-security-policy/ | H | 03-May-2022 | - | 902 | 755 |
| contenteditable/ | H | 03-May-2022 | - | 4 | 3 |
| cookie-store/ | H | 03-May-2022 | - | 104 | 70 |
| cookies/ | H | 03-May-2022 | - | 1,423 | 929 |
| core-aam/ | H | 03-May-2022 | - | 66 | 51 |
| cors/ | H | 03-May-2022 | - | 2,251 | 1,834 |
| credential-management/ | H | 03-May-2022 | - | 35 | 26 |
| css/ | H | 03-May-2022 | - | 762,929 | 686,331 |
| custom-elements/ | H | 03-May-2022 | - | 11 | 9 |
| delegated-ink/ | H | 03-May-2022 | - | | |
| device-memory/ | H | 03-May-2022 | - | 4 | 3 |
| docs/ | H | 03-May-2022 | - | 7,260 | 5,401 |
| document-policy/ | H | 03-May-2022 | - | 58 | 34 |
| dom/ | H | 03-May-2022 | - | 3,126 | 2,883 |
| domparsing/ | H | 03-May-2022 | - | 317 | 280 |
| domxpath/ | H | 03-May-2022 | - | 34,935 | 34,924 |
| dpub-aam/ | H | 03-May-2022 | - | 70 | 52 |
| dpub-aria/ | H | 03-May-2022 | - | 80 | 59 |
| editing/ | H | 03-May-2022 | - | 299 | 255 |
| element-timing/ | H | 03-May-2022 | - | 155 | 114 |
| encoding/ | H | 03-May-2022 | - | 211 | 109 |
| encoding-detection/ | H | 03-May-2022 | - | 4 | 2 |
| encrypted-media/ | H | 03-May-2022 | - | 48 | 36 |
| entries-api/ | H | 03-May-2022 | - | 15 | 11 |
| event-timing/ | H | 03-May-2022 | - | 12 | 8 |
| eventsource/ | H | 03-May-2022 | - | 1,987 | 1,795 |
| feature-policy/ | H | 03-May-2022 | - | 175 | 104 |
| fetch/ | H | 15-Mar-2021 | - | 2,157 | 1,767 |
| fonts/ | H | 03-May-2022 | - | 241 | 183 |
| forced-colors-mode/ | H | 03-May-2022 | - | | |
| fullscreen/ | H | 03-May-2022 | - | 6 | 5 |
| gamepad/ | H | 03-May-2022 | - | 5 | 4 |
| generic-sensor/ | H | 03-May-2022 | - | 48 | 40 |
| geolocation-API/ | H | 03-May-2022 | - | 6 | 5 |
| geolocation-sensor/ | H | 03-May-2022 | - | 12 | 8 |
| graphics-aam/ | H | 03-May-2022 | - | 5 | 4 |
| gyroscope/ | H | 03-May-2022 | - | 13 | 9 |
| hr-time/ | H | 03-May-2022 | - | 5 | 4 |
| html/ | H | 15-Mar-2021 | - | 57,022 | 51,738 |
| html-longdesc/ | H | 03-May-2022 | - | 5 | 4 |
| html-media-capture/ | H | 03-May-2022 | - | 4 | 3 |
| idle-detection/ | H | 03-May-2022 | - | 35 | 29 |
| imagebitmap-renderingcontext/ | H | 03-May-2022 | - | 7 | 6 |
| images/ | H | 03-May-2022 | - | 19 | 14 |
| import-maps/ | H | 15-Mar-2021 | - | 1,601 | 1,548 |
| inert/frame/ | H | 03-May-2022 | - | | |
| infrastructure/ | H | 03-May-2022 | - | 573 | 415 |
| input-device-capabilities/ | H | 03-May-2022 | - | 5 | 4 |
| input-events/ | H | 03-May-2022 | - | 5 | 4 |
| installedapp/resources/ | H | 03-May-2022 | - | | |
| interfaces/ | H | 15-Mar-2021 | - | 16,804 | 14,043 |
| intersection-observer/ | H | 03-May-2022 | - | 4 | 3 |
| js/ | H | 15-Mar-2021 | - | 4 | 3 |
| js-self-profiling/ | H | 03-May-2022 | - | | |
| keyboard-lock/ | H | 03-May-2022 | - | 5 | 4 |
| keyboard-map/ | H | 03-May-2022 | - | 4 | 3 |
| largest-contentful-paint/ | H | 03-May-2022 | - | 5 | 4 |
| layout-instability/ | H | 03-May-2022 | - | 11 | 8 |
| lifecycle/ | H | 03-May-2022 | - | 30 | 20 |
| loading/resources/ | H | 03-May-2022 | - | 2 | 1 |
| longtask-timing/ | H | 03-May-2022 | - | 5 | 4 |
| magnetometer/ | H | 03-May-2022 | - | 13 | 9 |
| mathml/ | H | 15-Mar-2021 | - | 1,660 | 1,445 |
| measure-memory/ | H | 03-May-2022 | - | 12 | 8 |
| media/ | H | 03-May-2022 | - | 14 | 9 |
| media-capabilities/ | H | 03-May-2022 | - | 19 | 12 |
| media-playback-quality/ | H | 03-May-2022 | - | 4 | 3 |
| media-source/ | H | 03-May-2022 | - | 363 | 265 |
| mediacapture-depth/ | H | 03-May-2022 | - | 6 | 5 |
| mediacapture-fromelement/ | H | 03-May-2022 | - | 6 | 5 |
| mediacapture-image/ | H | 03-May-2022 | - | 5 | 4 |
| mediacapture-record/ | H | 03-May-2022 | - | 4 | 3 |
| mediacapture-streams/ | H | 03-May-2022 | - | 11 | 8 |
| mediasession/ | H | 03-May-2022 | - | 25 | 16 |
| mimesniff/ | H | 15-Mar-2021 | - | 4,183 | 4,152 |
| mixed-content/ | H | 03-May-2022 | - | 575 | 515 |
| mst-content-hint/ | H | 03-May-2022 | - | 4 | 3 |
| native-file-system/ | H | 03-May-2022 | - | 3 | 2 |
| native-io/ | H | 03-May-2022 | - | 22 | 16 |
| navigation-timing/ | H | 03-May-2022 | - | 10 | 7 |
| netinfo/ | H | 03-May-2022 | - | 7 | 6 |
| network-error-logging/ | H | 03-May-2022 | - | 230 | 170 |
| notifications/ | H | 03-May-2022 | - | 4 | 3 |
| old-tests/ | H | 15-Mar-2021 | - | 776 | 670 |
| orientation-event/ | H | 03-May-2022 | - | 14 | 10 |
| orientation-sensor/ | H | 03-May-2022 | - | 19 | 12 |
| origin-isolation/ | H | 03-May-2022 | - | 178 | 140 |
| origin-policy/ | H | 03-May-2022 | - | 438 | 372 |
| page-lifecycle/ | H | 03-May-2022 | - | | |
| page-visibility/ | H | 03-May-2022 | - | 5 | 4 |
| paint-timing/ | H | 03-May-2022 | - | 4 | 3 |
| payment-handler/ | H | 03-May-2022 | - | 27 | 24 |
| payment-method-basic-card/ | H | 03-May-2022 | - | 6 | 5 |
| payment-method-id/ | H | 03-May-2022 | - | 9 | 6 |
| payment-request/ | H | 03-May-2022 | - | 9 | 8 |
| performance-timeline/ | H | 03-May-2022 | - | 5 | 4 |
| periodic-background-sync/ | H | 03-May-2022 | - | 5 | 4 |
| permissions/ | H | 03-May-2022 | - | 6 | 5 |
| permissions-request/ | H | 03-May-2022 | - | | |
| permissions-revoke/ | H | 03-May-2022 | - | | |
| picture-in-picture/ | H | 03-May-2022 | - | 5 | 4 |
| pointerevents/ | H | 03-May-2022 | - | 130 | 105 |
| pointerlock/ | H | 03-May-2022 | - | 5 | 4 |
| portals/ | H | 03-May-2022 | - | 33 | 22 |
| preload/ | H | 03-May-2022 | - | 69 | 44 |
| presentation-api/ | H | 15-Mar-2021 | - | 53 | 43 |
| priority-hints/ | H | 03-May-2022 | - | 10 | 8 |
| proximity/ | H | 03-May-2022 | - | 6 | 5 |
| push-api/ | H | 03-May-2022 | - | 4 | 3 |
| quirks/ | H | 03-May-2022 | - | 4 | 3 |
| referrer-policy/ | H | 15-Mar-2021 | - | 1,929 | 1,618 |
| remote-playback/ | H | 03-May-2022 | - | 19 | 12 |
| reporting/ | H | 03-May-2022 | - | 26 | 20 |
| requestidlecallback/ | H | 03-May-2022 | - | 5 | 4 |
| resize-observer/ | H | 03-May-2022 | - | 5 | 4 |
| resource-timing/ | H | 03-May-2022 | - | 1,029 | 892 |
| resources/ | H | 03-May-2022 | - | 12,161 | 9,648 |
| screen-capture/ | H | 03-May-2022 | - | 7 | 6 |
| screen-orientation/ | H | 03-May-2022 | - | 4 | 3 |
| screen-wake-lock/ | H | 03-May-2022 | - | 13 | 9 |
| screen_enumeration/ | H | 03-May-2022 | - | | |
| scroll-animations/ | H | 03-May-2022 | - | 6 | 5 |
| scroll-to-text-fragment/ | H | 03-May-2022 | - | 19 | 13 |
| secure-contexts/ | H | 03-May-2022 | - | 4 | 3 |
| selection/ | H | 03-May-2022 | - | 65 | 58 |
| serial/ | H | 03-May-2022 | - | 4 | 2 |
| server-timing/ | H | 03-May-2022 | - | 186 | 95 |
| service-workers/ | H | 03-May-2022 | - | 1,429 | 1,078 |
| shadow-dom/ | H | 03-May-2022 | - | 92 | 87 |
| shape-detection/ | H | 03-May-2022 | - | 68 | 53 |
| signed-exchange/ | H | 03-May-2022 | - | 750 | 607 |
| speech-api/ | H | 03-May-2022 | - | 6 | 5 |
| storage/ | H | 03-May-2022 | - | 17 | 11 |
| storage-access-api/ | H | 03-May-2022 | - | 6 | 5 |
| streams/ | H | 03-May-2022 | - | 12 | 9 |
| subresource-integrity/ | H | 03-May-2022 | - | 307 | 233 |
| svg/ | H | 03-May-2022 | - | 45 | 38 |
| svg-aam/ | H | 15-Mar-2021 | - | 69 | 51 |
| timing-entrytypes-registry/ | H | 03-May-2022 | - | 6 | 5 |
| tools/ | H | 03-May-2022 | - | 389,026 | 316,745 |
| touch-events/ | H | 03-May-2022 | - | 6 | 5 |
| trust-tokens/end-to-end/ | H | 03-May-2022 | - | | |
| trusted-types/ | H | 03-May-2022 | - | 72 | 51 |
| uievents/ | H | 03-May-2022 | - | 476 | 400 |
| upgrade-insecure-requests/ | H | 03-May-2022 | - | 380 | 328 |
| url/ | H | 03-May-2022 | - | 9,138 | 9,116 |
| user-timing/ | H | 03-May-2022 | - | 5 | 4 |
| vibration/ | H | 03-May-2022 | - | 4 | 3 |
| video-rvfc/ | H | 03-May-2022 | - | 12 | 7 |
| visual-viewport/ | H | 03-May-2022 | - | 4 | 3 |
| wai-aria/ | H | 03-May-2022 | - | 1,337 | 1,101 |
| wasm/ | H | 03-May-2022 | - | 9 | 7 |
| web-animations/ | H | 03-May-2022 | - | 130 | 98 |
| web-bundle/ | H | 03-May-2022 | - | 40 | 28 |
| web-locks/ | H | 03-May-2022 | - | 11 | 7 |
| web-nfc/ | H | 03-May-2022 | - | 34 | 27 |
| web-share/ | H | 03-May-2022 | - | 6 | 5 |
| webaudio/ | H | 03-May-2022 | - | 14 | 10 |
| webauthn/ | H | 03-May-2022 | - | 6 | 5 |
| webdriver/ | H | 15-Mar-2021 | - | 16,293 | 11,758 |
| webgl/ | H | 03-May-2022 | - | 3 | 2 |
| webgpu/ | H | 03-May-2022 | - | 17 | 13 |
| webmessaging/ | H | 03-May-2022 | - | 1,464 | 1,198 |
| webmidi/ | H | 03-May-2022 | - | 4 | 3 |
| webrtc/ | H | 03-May-2022 | - | 128 | 113 |
| webrtc-extensions/ | H | 03-May-2022 | - | 4 | 3 |
| webrtc-identity/ | H | 03-May-2022 | - | 5 | 4 |
| webrtc-insertable-streams/resources/ | H | 03-May-2022 | - | | |
| webrtc-priority/ | H | 03-May-2022 | - | | |
| webrtc-quic/ | H | 03-May-2022 | - | 6 | 5 |
| webrtc-stats/ | H | 03-May-2022 | - | 14 | 11 |
| webrtc-svc/ | H | 03-May-2022 | - | | |
| websockets/ | H | 03-May-2022 | - | 564 | 324 |
| webstorage/ | H | 03-May-2022 | - | 10 | 8 |
| webtransport/quic/handlers/ | H | 15-Mar-2021 | - | 34 | 22 |
| webusb/ | H | 03-May-2022 | - | 21 | 13 |
| webvr/ | H | 03-May-2022 | - | 10 | 6 |
| webvtt/ | H | 15-Mar-2021 | - | 6,557 | 4,618 |
| webxr/ | H | 03-May-2022 | - | 6 | 4 |
| workers/ | H | 03-May-2022 | - | 1,197 | 1,022 |
| worklets/ | H | 03-May-2022 | - | 66 | 42 |
| x-frame-options/ | H | 03-May-2022 | - | 75 | 64 |
| xhr/ | H | 03-May-2022 | - | 9,260 | 8,370 |
| xslt/ | H | 03-May-2022 | - | 5 | 4 |
| .azure-pipelines.yml | H A D | 15-Mar-2021 | 24.7 KiB | 661 | 630 |
| .codecov.yml | H A D | 15-Mar-2021 | 66 | 7 | 5 |
| .gitignore | H A D | 15-Mar-2021 | 662 | 53 | 46 |
| .mailmap | H A D | 15-Mar-2021 | 224 | 10 | 7 |
| .pyup.yml | H A D | 15-Mar-2021 | 1.5 KiB | 45 | 42 |
| .taskcluster.yml | H A D | 15-Mar-2021 | 3 KiB | 82 | 80 |
| CODEOWNERS | H A D | 15-Mar-2021 | 164 | 6 | 4 |
| CONTRIBUTING.md | H A D | 15-Mar-2021 | 183 | 7 | 4 |
| LICENSE | H A D | 15-Mar-2021 | 1.4 KiB | 30 | 23 |
| LICENSE.md | H A D | 15-Mar-2021 | 1.5 KiB | 12 | 7 |
| README.md | H A D | 15-Mar-2021 | 6.1 KiB | 137 | 106 |
| lint.ignore | H A D | 15-Mar-2021 | 44.9 KiB | 765 | 708 |
| update-built-tests.sh | H A D | 15-Mar-2021 | 280 | 10 | 7 |
| wpt | H A D | 15-Mar-2021 | 645 | 22 | 18 |
| wpt.py | H A D | 15-Mar-2021 | 321 | 8 | 4 |
README.md
1The web-platform-tests Project
2==============================
3
4[![Taskcluster CI Status](https://community-tc.services.mozilla.com/api/github/v1/repository/web-platform-tests/wpt/master/badge.svg)](https://community-tc.services.mozilla.com/api/github/v1/repository/web-platform-tests/wpt/master/latest) [![documentation](https://github.com/web-platform-tests/wpt/workflows/documentation/badge.svg)](https://github.com/web-platform-tests/wpt/actions?query=workflow%3Adocumentation+branch%3Amaster) [![manifest](https://github.com/web-platform-tests/wpt/workflows/manifest/badge.svg)](https://github.com/web-platform-tests/wpt/actions?query=workflow%3Amanifest+branch%3Amaster) [![Python 3](https://pyup.io/repos/github/web-platform-tests/wpt/python-3-shield.svg)](https://pyup.io/repos/github/web-platform-tests/wpt/)
5
6The web-platform-tests Project is a cross-browser test suite for the
7Web-platform stack. Writing tests in a way that allows them to be run in all
8browsers gives browser projects confidence that they are shipping software that
9is compatible with other implementations, and that later implementations will
10be compatible with their implementations. This in turn gives Web
11authors/developers confidence that they can actually rely on the Web platform
12to deliver on the promise of working across browsers and devices without
13needing extra layers of abstraction to paper over the gaps left by
14specification editors and implementors.
15
16The most important sources of information and activity are:
17
18- [github.com/web-platform-tests/wpt](https://github.com/web-platform-tests/wpt):
19 the canonical location of the project's source code revision history and the
20 discussion forum for changes to the code
21- [web-platform-tests.org](https://web-platform-tests.org): the documentation
22 website; details how to set up the project, how to write tests, how to give
23 and receive peer review, how to serve as an administrator, and more
24- [wpt.live](http://wpt.live): a public deployment of the test suite,
25 allowing anyone to run the tests by visiting from an
26 Internet-enabled browser of their choice
27- [wpt.fyi](https://wpt.fyi): an archive of test results collected from an
28 array of web browsers on a regular basis
29- [Real-time chat room](http://irc.w3.org/?channels=testing): the
30 [IRC](http://www.irchelp.org/) chat room named `#testing` on
31 [irc.w3.org](https://www.w3.org/wiki/IRC); includes participants located
32 around the world, but busiest during the European working day; [all
33 discussion is archived here](https://w3.logbot.info/testing)
34- [Mailing list](https://lists.w3.org/Archives/Public/public-test-infra/): a
35 public and low-traffic discussion list
36- [RFCs](https://github.com/web-platform-tests/rfcs): a repo for requesting
37 comments on substantial changes that would impact other stakeholders or
38 users; people who work on WPT infra are encouraged to watch the repo.
39
40**If you'd like clarification about anything**, don't hesitate to ask in the
41chat room or on the mailing list.
42
43Setting Up the Repo
44===================
45
46Clone or otherwise get https://github.com/web-platform-tests/wpt.
47
48Note: because of the frequent creation and deletion of branches in this
49repo, it is recommended to "prune" stale branches when fetching updates,
50i.e. use `git pull --prune` (or `git fetch -p && git merge`).
51
52Running the Tests
53=================
54
55See the [documentation website](https://web-platform-tests.org/running-tests/)
56and in particular the
57[system setup for running tests locally](https://web-platform-tests.org/running-tests/from-local-system.html#system-setup).
58
59Command Line Tools
60==================
61
62The `wpt` command provides a frontend to a variety of tools for
63working with and running web-platform-tests. Some of the most useful
64commands are:
65
66* `wpt serve` - For starting the wpt http server
67* `wpt run` - For running tests in a browser
68* `wpt lint` - For running the lint against all tests
69* `wpt manifest` - For updating or generating a `MANIFEST.json` test manifest
70* `wpt install` - For installing the latest release of a browser or
71 webdriver server on the local machine.
72
73<span id="windows-notes">Windows Notes</span>
74=============================================
75
76On Windows `wpt` commands must be prefixed with `python` or the path
77to the python binary (if `python` is not in your `%PATH%`).
78
79```bash
80python wpt [command]
81```
82
83Alternatively, you may also use
84[Bash on Ubuntu on Windows](https://msdn.microsoft.com/en-us/commandline/wsl/about)
85in the Windows 10 Anniversary Update build, then access your windows
86partition from there to launch `wpt` commands.
87
88Please make sure git and your text editor do not automatically convert
89line endings, as it will cause lint errors. For git, please set
90`git config core.autocrlf false` in your working tree.
91
92Publication
93===========
94
95The master branch is automatically synced to http://w3c-test.org/.
96
97Pull requests are
98[automatically mirrored](http://w3c-test.org/submissions/) except those
99that modify sensitive resources (such as `.py`). The latter require
100someone with merge access to comment with "LGTM" or "w3c-test:mirror" to
101indicate the pull request has been checked.
102
103Branches
104========
105
106In the vast majority of cases the **only** upstream branch that you
107should need to care about is `master`. If you see other branches in
108the repository, you can generally safely ignore them.
109
110Contributing
111============
112
113Save the Web, Write Some Tests!
114
115Absolutely everyone is welcome to contribute to test development. No
116test is too small or too simple, especially if it corresponds to
117something for which you've noted an interoperability bug in a browser.
118
119The way to contribute is just as usual:
120
121* Fork this repository (and make sure you're still relatively in sync
122 with it if you forked a while ago).
123* Create a branch for your changes:
124 `git checkout -b topic`.
125* Make your changes.
126* Run `./wpt lint` as described above.
127* Commit locally and push that to your repo.
128* Create a pull request based on the above.
129
130Issues with web-platform-tests
131------------------------------
132
133If you spot an issue with a test and are not comfortable providing a
134pull request per above to fix it, please
135[file a new issue](https://github.com/web-platform-tests/wpt/issues/new).
136Thank you!
137