• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..15-Mar-2021-

.github/H15-Mar-2021-140134

.well-known/H15-Mar-2021-6747

BackgroundSync/H03-May-2022-43

FileAPI/H03-May-2022-76

IndexedDB/H03-May-2022-14,68512,031

WebCryptoAPI/H03-May-2022-8364

WebIDL/H03-May-2022-3,8723,513

accelerometer/H03-May-2022-139

accname/H03-May-2022-54

acid/H15-Mar-2021-8965

ambient-light/H03-May-2022-139

animation-worklet/H03-May-2022-65

annotation-model/H15-Mar-2021-14,44713,850

annotation-protocol/H03-May-2022-1,2791,117

annotation-vocab/H03-May-2022-391316

apng/H03-May-2022-65

appmanifest/H15-Mar-2021-87

audio-output/H03-May-2022-54

background-fetch/H03-May-2022-96

badging/H03-May-2022-

battery-status/H03-May-2022-107

beacon/H03-May-2022-144102

bluetooth/H15-Mar-2021-380263

clear-site-data/H03-May-2022-4939

client-hints/H03-May-2022-297235

clipboard-apis/H03-May-2022-43

common/H03-May-2022-2,9842,378

compat/H03-May-2022-65

compression/H03-May-2022-2922

conformance-checkers/H03-May-2022-17,24116,490

console/H03-May-2022-65

contacts/resources/H03-May-2022-

content-dpr/resources/H03-May-2022-2523

content-index/resources/H03-May-2022-

content-security-policy/H03-May-2022-902755

contenteditable/H03-May-2022-43

cookie-store/H03-May-2022-10470

cookies/H03-May-2022-1,423929

core-aam/H03-May-2022-6651

cors/H03-May-2022-2,2511,834

credential-management/H03-May-2022-3526

css/H03-May-2022-762,929686,331

custom-elements/H03-May-2022-119

delegated-ink/H03-May-2022-

device-memory/H03-May-2022-43

docs/H03-May-2022-7,2605,401

document-policy/H03-May-2022-5834

dom/H03-May-2022-3,1262,883

domparsing/H03-May-2022-317280

domxpath/H03-May-2022-34,93534,924

dpub-aam/H03-May-2022-7052

dpub-aria/H03-May-2022-8059

editing/H03-May-2022-299255

element-timing/H03-May-2022-155114

encoding/H03-May-2022-211109

encoding-detection/H03-May-2022-42

encrypted-media/H03-May-2022-4836

entries-api/H03-May-2022-1511

event-timing/H03-May-2022-128

eventsource/H03-May-2022-1,9871,795

feature-policy/H03-May-2022-175104

fetch/H15-Mar-2021-2,1571,767

fonts/H03-May-2022-241183

forced-colors-mode/H03-May-2022-

fullscreen/H03-May-2022-65

gamepad/H03-May-2022-54

generic-sensor/H03-May-2022-4840

geolocation-API/H03-May-2022-65

geolocation-sensor/H03-May-2022-128

graphics-aam/H03-May-2022-54

gyroscope/H03-May-2022-139

hr-time/H03-May-2022-54

html/H15-Mar-2021-57,02251,738

html-longdesc/H03-May-2022-54

html-media-capture/H03-May-2022-43

idle-detection/H03-May-2022-3529

imagebitmap-renderingcontext/H03-May-2022-76

images/H03-May-2022-1914

import-maps/H15-Mar-2021-1,6011,548

inert/frame/H03-May-2022-

infrastructure/H03-May-2022-573415

input-device-capabilities/H03-May-2022-54

input-events/H03-May-2022-54

installedapp/resources/H03-May-2022-

interfaces/H15-Mar-2021-16,80414,043

intersection-observer/H03-May-2022-43

js/H15-Mar-2021-43

js-self-profiling/H03-May-2022-

keyboard-lock/H03-May-2022-54

keyboard-map/H03-May-2022-43

largest-contentful-paint/H03-May-2022-54

layout-instability/H03-May-2022-118

lifecycle/H03-May-2022-3020

loading/resources/H03-May-2022-21

longtask-timing/H03-May-2022-54

magnetometer/H03-May-2022-139

mathml/H15-Mar-2021-1,6601,445

measure-memory/H03-May-2022-128

media/H03-May-2022-149

media-capabilities/H03-May-2022-1912

media-playback-quality/H03-May-2022-43

media-source/H03-May-2022-363265

mediacapture-depth/H03-May-2022-65

mediacapture-fromelement/H03-May-2022-65

mediacapture-image/H03-May-2022-54

mediacapture-record/H03-May-2022-43

mediacapture-streams/H03-May-2022-118

mediasession/H03-May-2022-2516

mimesniff/H15-Mar-2021-4,1834,152

mixed-content/H03-May-2022-575515

mst-content-hint/H03-May-2022-43

native-file-system/H03-May-2022-32

native-io/H03-May-2022-2216

navigation-timing/H03-May-2022-107

netinfo/H03-May-2022-76

network-error-logging/H03-May-2022-230170

notifications/H03-May-2022-43

old-tests/H15-Mar-2021-776670

orientation-event/H03-May-2022-1410

orientation-sensor/H03-May-2022-1912

origin-isolation/H03-May-2022-178140

origin-policy/H03-May-2022-438372

page-lifecycle/H03-May-2022-

page-visibility/H03-May-2022-54

paint-timing/H03-May-2022-43

payment-handler/H03-May-2022-2724

payment-method-basic-card/H03-May-2022-65

payment-method-id/H03-May-2022-96

payment-request/H03-May-2022-98

performance-timeline/H03-May-2022-54

periodic-background-sync/H03-May-2022-54

permissions/H03-May-2022-65

permissions-request/H03-May-2022-

permissions-revoke/H03-May-2022-

picture-in-picture/H03-May-2022-54

pointerevents/H03-May-2022-130105

pointerlock/H03-May-2022-54

portals/H03-May-2022-3322

preload/H03-May-2022-6944

presentation-api/H15-Mar-2021-5343

priority-hints/H03-May-2022-108

proximity/H03-May-2022-65

push-api/H03-May-2022-43

quirks/H03-May-2022-43

referrer-policy/H15-Mar-2021-1,9291,618

remote-playback/H03-May-2022-1912

reporting/H03-May-2022-2620

requestidlecallback/H03-May-2022-54

resize-observer/H03-May-2022-54

resource-timing/H03-May-2022-1,029892

resources/H03-May-2022-12,1619,648

screen-capture/H03-May-2022-76

screen-orientation/H03-May-2022-43

screen-wake-lock/H03-May-2022-139

screen_enumeration/H03-May-2022-

scroll-animations/H03-May-2022-65

scroll-to-text-fragment/H03-May-2022-1913

secure-contexts/H03-May-2022-43

selection/H03-May-2022-6558

serial/H03-May-2022-42

server-timing/H03-May-2022-18695

service-workers/H03-May-2022-1,4291,078

shadow-dom/H03-May-2022-9287

shape-detection/H03-May-2022-6853

signed-exchange/H03-May-2022-750607

speech-api/H03-May-2022-65

storage/H03-May-2022-1711

storage-access-api/H03-May-2022-65

streams/H03-May-2022-129

subresource-integrity/H03-May-2022-307233

svg/H03-May-2022-4538

svg-aam/H15-Mar-2021-6951

timing-entrytypes-registry/H03-May-2022-65

tools/H03-May-2022-389,026316,745

touch-events/H03-May-2022-65

trust-tokens/end-to-end/H03-May-2022-

trusted-types/H03-May-2022-7251

uievents/H03-May-2022-476400

upgrade-insecure-requests/H03-May-2022-380328

url/H03-May-2022-9,1389,116

user-timing/H03-May-2022-54

vibration/H03-May-2022-43

video-rvfc/H03-May-2022-127

visual-viewport/H03-May-2022-43

wai-aria/H03-May-2022-1,3371,101

wasm/H03-May-2022-97

web-animations/H03-May-2022-13098

web-bundle/H03-May-2022-4028

web-locks/H03-May-2022-117

web-nfc/H03-May-2022-3427

web-share/H03-May-2022-65

webaudio/H03-May-2022-1410

webauthn/H03-May-2022-65

webdriver/H15-Mar-2021-16,29311,758

webgl/H03-May-2022-32

webgpu/H03-May-2022-1713

webmessaging/H03-May-2022-1,4641,198

webmidi/H03-May-2022-43

webrtc/H03-May-2022-128113

webrtc-extensions/H03-May-2022-43

webrtc-identity/H03-May-2022-54

webrtc-insertable-streams/resources/H03-May-2022-

webrtc-priority/H03-May-2022-

webrtc-quic/H03-May-2022-65

webrtc-stats/H03-May-2022-1411

webrtc-svc/H03-May-2022-

websockets/H03-May-2022-564324

webstorage/H03-May-2022-108

webtransport/quic/handlers/H15-Mar-2021-3422

webusb/H03-May-2022-2113

webvr/H03-May-2022-106

webvtt/H15-Mar-2021-6,5574,618

webxr/H03-May-2022-64

workers/H03-May-2022-1,1971,022

worklets/H03-May-2022-6642

x-frame-options/H03-May-2022-7564

xhr/H03-May-2022-9,2608,370

xslt/H03-May-2022-54

.azure-pipelines.ymlH A D15-Mar-202124.7 KiB661630

.codecov.ymlH A D15-Mar-202166 75

.gitignoreH A D15-Mar-2021662 5346

.mailmapH A D15-Mar-2021224 107

.pyup.ymlH A D15-Mar-20211.5 KiB4542

.taskcluster.ymlH A D15-Mar-20213 KiB8280

CODEOWNERSH A D15-Mar-2021164 64

CONTRIBUTING.mdH A D15-Mar-2021183 74

LICENSEH A D15-Mar-20211.4 KiB3023

LICENSE.mdH A D15-Mar-20211.5 KiB127

README.mdH A D15-Mar-20216.1 KiB137106

lint.ignoreH A D15-Mar-202144.9 KiB765708

update-built-tests.shH A D15-Mar-2021280 107

wptH A D15-Mar-2021645 2218

wpt.pyH A D15-Mar-2021321 84

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