fune/testing/web-platform/tests
2024-11-13 08:17:03 +00:00
..
.github Bug 1857884 [wpt PR 42423] - Add a workflow to publish the container image to ghcr.io, a=testonly 2024-05-23 10:00:22 +00:00
.well-known
accelerometer
accessibility Bug 1896451 [wpt PR 46230] - [A11y] Invalidate pseudo element AX subtree on style change, a=testonly 2024-05-23 10:01:07 +00:00
accname Bug 1898640 [wpt PR 46468] - [a11y] Move disputed self/cross-referential aria-labelledby tests to tentative file, a=testonly 2024-06-03 07:40:30 +00:00
acid
ambient-light
animation-worklet
annotation-model
annotation-protocol
annotation-vocab
apng
appmanifest
attribution-reporting
audio-output
autoplay-policy-detection
avif
background-fetch
background-sync
badging
battery-status
beacon
bluetooth
browsing-topics
captured-mouse-events
clear-site-data
client-hints Bug 1898100 [wpt PR 46416] - Cleanup sec-ch-width auto sizes tests, a=testonly 2024-05-30 07:56:10 +00:00
clipboard-apis Bug 1899478 [wpt PR 46529] - clipboard-api: user WebKit-infra-friendly remote URL, a=testonly 2024-06-03 07:40:35 +00:00
close-watcher
common
compat
compression
compute-pressure
conformance-checkers
console
contacts
content-dpr
content-index
content-security-policy Bug 1886918: Remove optional trailing semicolon from CSP r=tschuster 2024-05-29 14:04:06 +00:00
contenteditable
cookie-deprecation-label
cookie-store
cookies Bug 1901325 - add test that ;secure Set-Cookie header doesn't affect previous cookie's value a=RyanVM 2024-06-14 01:46:54 +00:00
core-aam Bug 1897385 [wpt PR 46338] - Remove joanmarie from core-aam reviewers per request, a=testonly 2024-05-23 10:01:01 +00:00
cors
credential-management Bug 1899234 [wpt PR 46506] - Digital Credentials: move files out of Cred Man folder, a=testonly 2024-06-03 07:40:37 +00:00
css Bug 1927714 - Missing style invalidation in ShadowRoot::AddSlot(). r=smaug, a=dmeehan 2024-10-30 23:24:33 +00:00
custom-elements Bug 1897147 [wpt PR 46309] - Map custom elements to two different features, a=testonly 2024-05-30 07:56:06 +00:00
delegated-ink
density-size-correction
deprecation-reporting
device-memory
device-posture
digital-credentials Bug 1899228 [wpt PR 46504] - digital credentials: test api against non-fully active doc, a=testonly 2024-06-03 07:40:39 +00:00
direct-sockets
docs Bug 1896634 [wpt PR 46250] - Remove outdated mention of Travis CI, a=testonly 2024-05-23 10:00:14 +00:00
document-picture-in-picture Bug 1890457 [wpt PR 45621] - [document picture-in-picture] Propagate user activation to the opener, a=testonly 2024-05-30 07:56:33 +00:00
document-policy Bug 1897227 [wpt PR 46322] - Remove experimental oversized-images policy., a=testonly 2024-05-30 07:56:22 +00:00
dom Bug 1908466 - Ensure source signal is not null when creating a dependent signal. a=dmeehan 2024-07-23 21:42:02 +00:00
domparsing
domxpath
dpub-aam
dpub-aria
ecmascript
editing Bug 1930050 - Make AutoRangeArray check the container type r=m_kato, a=dmeehan 2024-11-13 08:17:03 +00:00
element-timing
encoding
encoding-detection
encrypted-media Bug 1899928 [wpt PR 46558] - Update test to expect MediaKeySessionClosedReason, a=testonly 2024-06-05 09:01:13 +00:00
entries-api
event-timing
eventsource
eyedropper
feature-policy Bug 1899382 [wpt PR 46516] - [WPT] fix *-policy-frame-policy-timing, a=testonly 2024-06-03 07:40:34 +00:00
fenced-frame Bug 1896981 [wpt PR 46290] - Fenced frames: allow CSP to check ancestors for frame-ancestors., a=testonly 2024-06-03 07:39:31 +00:00
fetch Bug 1895639 [wpt PR 46159] - Reland "[fetch-later] Define new permissions policy deferred-fetch", a=testonly 2024-06-07 07:39:12 +00:00
file-system-access
FileAPI Bug 1896472 [wpt PR 46232] - Add tests for Blob.prototype.bytes(), a=testonly 2024-06-03 07:39:47 +00:00
fledge/tentative Bug 1896927 [wpt PR 46287] - Disable real time reporting APIs for mode A/B traffic., a=testonly 2024-06-03 07:39:29 +00:00
focus Bug 1824155 - Ensure focused browsing context is blurred when an OOP window is focused r=edgar,dom-core 2024-05-28 21:23:25 +00:00
font-access
fonts
forced-colors-mode
fs
fullscreen
gamepad
generic-sensor
geolocation-API Bug 1900338 [wpt PR 46590] - Geolocation: make test slightly faster, a=testonly 2024-06-07 07:38:55 +00:00
geolocation-sensor
graphics-aam
graphics-aria
gyroscope
hr-time
html Bug 1921972 - Allow to propagate loadgroup flags to parent process. r=nika,necko-reviewers,valentin a=RyanVM 2024-10-08 21:28:09 +00:00
html-aam
html-longdesc
html-media-capture
https-upgrades
idle-detection
imagebitmap-renderingcontext
images Bug 1895939 [wpt PR 46186] - Fix WPT logo size differences, a=testonly 2024-05-23 10:01:41 +00:00
import-maps Bug 1898141 [wpt PR 46423] - Import map integrity tests - WebKit improvements, a=testonly 2024-05-30 07:56:14 +00:00
IndexedDB Bug 1899369 [wpt PR 46515] - IDB WPTs: Run bindings-inject-keys/bindings-inject-values on workers, a=testonly 2024-06-03 07:40:24 +00:00
inert
infrastructure Bug 1524074 [wpt PR 46426] - [Gecko Bug 1524074] Enable "marionette.setpermission.enabled" preference for wpt tests., a=testonly 2024-05-30 07:56:43 +00:00
input-device-capabilities
input-events Bug 1899975 [wpt PR 46561] - Dispatch BeforeInput Event for number input spin button and Arrow key, a=testonly 2024-06-05 09:01:16 +00:00
installedapp
interfaces Bug 1898721 [wpt PR 46473] - Sync interfaces/ with @webref/idl 3.47.4, a=testonly 2024-06-07 07:39:05 +00:00
intersection-observer Bug 1896664 [wpt PR 46255] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=273928, a=testonly 2024-05-23 10:00:01 +00:00
intervention-reporting
is-input-pending
jpegxl
js
js-self-profiling
keyboard-lock
keyboard-map
largest-contentful-paint
layout-instability
lifecycle
loading Bug 1882084 - Add WPT tests for fetchpriority in early hints preload. r=valentin 2024-06-05 08:04:06 +00:00
long-animation-frame
longtask-timing
magnetometer
managed
mathml Bug 1895405 [wpt PR 46120] - Add a REFERENCE-IN-OTHER-TYPE lint, a=testonly 2024-05-21 09:46:46 +00:00
measure-memory
media
media-capabilities
media-playback-quality
media-source
mediacapture-extensions
mediacapture-fromelement
mediacapture-handle/identity
mediacapture-image
mediacapture-insertable-streams
mediacapture-record
mediacapture-region
mediacapture-streams
mediasession
merchant-validation
mimesniff
mixed-content
mst-content-hint
navigation-api
navigation-timing
netinfo
network-error-logging
notifications Bug 1881812 - Add a test for SWR assocation with notifications r=asuth 2024-06-03 13:00:05 +00:00
old-tests
orientation-event
orientation-sensor
page-lifecycle
page-visibility
paint-timing
parakeet
payment-handler
payment-method-basic-card
payment-method-id
payment-request
performance-timeline
periodic-background-sync
permissions
permissions-policy Bug 1900290 [wpt PR 46580] - Geolocation: simplify feature check, a=testonly 2024-06-07 07:38:56 +00:00
permissions-request
permissions-revoke
picture-in-picture
png
pointerevents Bug 1898813 - Add a test for the target of coalesced and predicted events, r=edgar 2024-05-26 12:07:04 +00:00
pointerlock
preload
presentation-api
print/crashtests
private-aggregation
private-click-measurement
proximity
push-api
quirks
referrer-policy
remote-playback
reporting Bug 1897000 [wpt PR 46291] - Remove dependency on experimental document policies in tests, a=testonly 2024-05-23 10:00:38 +00:00
requestidlecallback
resize-observer
resource-timing
resources Bug 1900487 [wpt PR 46606] - Relax requirements around depth sensing preferences, a=testonly 2024-06-07 07:38:53 +00:00
sanitizer-api Bug 1898087 [wpt PR 46414] - Delete sanitizer-api/WEB_FEATURES.yml, a=testonly 2024-05-30 07:56:02 +00:00
savedata
scheduler
screen-capture
screen-details
screen-orientation
screen-wake-lock
scroll-animations
scroll-to-text-fragment Bug 1896620 [wpt PR 46249] - Update scroll to text fragment test mapping, a=testonly 2024-05-23 10:00:00 +00:00
secure-contexts
secure-payment-confirmation
selection Bug 1897255 - Make nsIFrame::PeekOffsetForLine won't cross editing host boundary unless the callers allows that r=emilio, a=dmeehan 2024-07-19 08:13:10 +00:00
serial
server-timing
service-workers Bug 1900760 [wpt PR 46630] - Move SW static routing API tests out of tentative, a=testonly 2024-06-07 07:39:14 +00:00
shadow-dom Bug 1902333 - Fix crash when serializing empty shadow tree. r=smaug,dom-core,peterv a=RyanVM 2024-06-18 14:55:20 +00:00
shape-detection
shared-storage Bug 1898631 [wpt PR 46464] - [shared storage] Move the opaque origin check to each SharedStorage method, a=testonly 2024-06-03 07:39:34 +00:00
shared-storage-selecturl-limit
signed-exchange
soft-navigation-heuristics Bug 1896966 [wpt PR 45811] - [soft navigations] Refactor navigation heuristics, a=testonly 2024-05-23 10:00:30 +00:00
speculation-rules Bug 1900734 [wpt PR 46626] - Prerender: Add WPTs for No-Vary-Search hint, a=testonly 2024-06-07 07:39:10 +00:00
speech-api
storage Bug 1837282 - Update tests to use testdriver.set_permission() r=dom-storage-reviewers,janv 2024-06-07 10:55:05 +00:00
storage-access-api
streams Bug 1897793 [wpt PR 46374] - Fix ReadableStream.from ignores a null @@asyncIterator, a=testonly 2024-05-23 10:01:28 +00:00
subapps
subresource-integrity
svg Bug 1906978 - Fix the positioning/anchoring of SVG text runs with bidi control characters. a=dmeehan 2024-07-17 15:08:42 +00:00
svg-aam
timing-entrytypes-registry
tools Bug 1869454 [wpt PR 43616] - Regenerate WPT certificates, a=testonly DONTBUILD 2024-09-06 10:11:14 +00:00
top-level-storage-access-api
touch-events
trust-tokens
trusted-types Bug 1898873 [wpt PR 46484] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=273185, a=testonly 2024-06-03 07:40:41 +00:00
ua-client-hints
uievents
upgrade-insecure-requests
url Bug 1895687 - Add WPT for 0x0A character embedded in HTML data URL getting stripped r=twisniewski 2024-06-03 12:53:01 +00:00
urlpattern
user-timing
vibration
video-rvfc
virtual-keyboard
visual-viewport
wai-aria Bug 1895556 [wpt PR 46142] - ARIA: Add sectionheader and sectionfooter role tests, a=testonly 2024-06-03 07:40:32 +00:00
wasm
web-animations
web-bundle
web-locks
web-nfc
web-otp
web-share
webaudio Bug 1897107 [wpt PR 46302] - Add @chrisguttandin to webaudio/ reviewers, a=testonly 2024-05-23 10:00:46 +00:00
webauthn
webcodecs Bug 1876438 - Extend timeout for temporal SVC encoding WPT r=media-playback-reviewers,padenot 2024-06-03 18:45:59 +00:00
WebCryptoAPI
webdriver Bug 1897447 [wpt PR 46345] - [WebDriver] align locate_nodes/locator.py with spec, a=testonly 2024-06-07 07:39:16 +00:00
webgl
webgpu
webhid
webidl
webmessaging
webmidi
webnn Bug 1897883 [wpt PR 46394] - webnn: add WPT conformance test cases of gather's out-of-bound indices, a=testonly 2024-06-07 07:39:08 +00:00
webrtc Bug 1900600: Remove leading endl from test SDP. r=jib, a=test-only 2024-06-10 16:17:00 +00:00
webrtc-encoded-transform
webrtc-extensions
webrtc-ice
webrtc-identity
webrtc-priority
webrtc-stats
webrtc-svc
websockets
webstorage
webtransport
webusb
webvr
webvtt Bug 1897766 [wpt PR 46373] - Fix test for VTTCue region to assert the setter throws, a=testonly 2024-05-23 10:01:39 +00:00
webxr Bug 1900510 [wpt PR 46612] - Add unsigned-short as a supported depth format, a=testonly 2024-06-07 07:39:06 +00:00
window-management
workers Bug 1896890 [wpt PR 46284] - Make worker rAF test non-tentative, a=testonly 2024-05-23 10:00:28 +00:00
worklets
x-frame-options
xhr
.azure-pipelines.yml
.gitattributes
.gitignore
.mailmap
.taskcluster.yml
CODE_OF_CONDUCT.md
CODEOWNERS
CONTRIBUTING.md
LICENSE.md
lint.ignore Bug 1900159 [wpt PR 46576] - Move reftests/crashtests that use testdriver to wpt_internal, a=testonly 2024-06-07 07:39:07 +00:00
README.md
wpt
wpt.py

The web-platform-tests Project

Taskcluster CI Status documentation manifest Python 3

The web-platform-tests Project is a cross-browser test suite for the Web-platform stack. Writing tests in a way that allows them to be run in all browsers gives browser projects confidence that they are shipping software that is compatible with other implementations, and that later implementations will be compatible with their implementations. This in turn gives Web authors/developers confidence that they can actually rely on the Web platform to deliver on the promise of working across browsers and devices without needing extra layers of abstraction to paper over the gaps left by specification editors and implementors.

The most important sources of information and activity are:

  • github.com/web-platform-tests/wpt: the canonical location of the project's source code revision history and the discussion forum for changes to the code
  • web-platform-tests.org: the documentation website; details how to set up the project, how to write tests, how to give and receive peer review, how to serve as an administrator, and more
  • wpt.live: a public deployment of the test suite, allowing anyone to run the tests by visiting from an Internet-enabled browser of their choice
  • wpt.fyi: an archive of test results collected from an array of web browsers on a regular basis
  • Real-time chat room: the wpt:matrix.org matrix channel; includes participants located around the world, but busiest during the European working day.
  • Mailing list: a public and low-traffic discussion list
  • RFCs: a repo for requesting comments on substantial changes that would impact other stakeholders or users; people who work on WPT infra are encouraged to watch the repo.

If you'd like clarification about anything, don't hesitate to ask in the chat room or on the mailing list.

Setting Up the Repo

Clone or otherwise get https://github.com/web-platform-tests/wpt.

Note: because of the frequent creation and deletion of branches in this repo, it is recommended to "prune" stale branches when fetching updates, i.e. use git pull --prune (or git fetch -p && git merge).

Running the Tests

See the documentation website and in particular the system setup for running tests locally.

Command Line Tools

The wpt command provides a frontend to a variety of tools for working with and running web-platform-tests. Some of the most useful commands are:

  • wpt serve - For starting the wpt http server
  • wpt run - For running tests in a browser
  • wpt lint - For running the lint against all tests
  • wpt manifest - For updating or generating a MANIFEST.json test manifest
  • wpt install - For installing the latest release of a browser or webdriver server on the local machine.
  • wpt serve-wave - For starting the wpt http server and the WAVE test runner. For more details on how to use the WAVE test runner see the documentation.

Windows Notes

On Windows wpt commands must be prefixed with python or the path to the python binary (if python is not in your %PATH%).

python wpt [command]

Alternatively, you may also use Bash on Ubuntu on Windows in the Windows 10 Anniversary Update build, then access your windows partition from there to launch wpt commands.

Please make sure git and your text editor do not automatically convert line endings, as it will cause lint errors. For git, please set git config core.autocrlf false in your working tree.

Publication

The master branch is automatically synced to wpt.live and w3c-test.org.

Contributing

Save the Web, Write Some Tests!

Absolutely everyone is welcome to contribute to test development. No test is too small or too simple, especially if it corresponds to something for which you've noted an interoperability bug in a browser.

The way to contribute is just as usual:

  • Fork this repository (and make sure you're still relatively in sync with it if you forked a while ago).
  • Create a branch for your changes: git checkout -b topic.
  • Make your changes.
  • Run ./wpt lint as described above.
  • Commit locally and push that to your repo.
  • Create a pull request based on the above.

Issues with web-platform-tests

If you spot an issue with a test and are not comfortable providing a pull request per above to fix it, please file a new issue. Thank you!