fune/testing/web-platform/tests
2024-02-26 08:26:38 +00:00
..
.github
.well-known
accelerometer
accessibility Bug 1864295 [wpt PR 43095] - [A11y] Do not include hidden nodes when they are ignored, a=testonly 2024-02-13 08:17:21 +00:00
accname
acid
ambient-light
animation-worklet
annotation-model Bug 1879120 - Remove all python deprecation warning: invalid escape sequence r=ahochheiden,webdriver-reviewers,perftest-reviewers,afinder UPGRADE_NSPR_RELEASE 2024-02-26 08:26:38 +00:00
annotation-protocol
annotation-vocab
apng
appmanifest
attribution-reporting Bug 1879581 [wpt PR 44503] - Remove unnecessary header for fetch requests, a=testonly 2024-02-13 08:18:05 +00:00
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
clipboard-apis Bug 1879233 [wpt PR 44459] - [Async Clipboard] Use supports instead of IsValidType., a=testonly 2024-02-15 09:43:01 +00:00
close-watcher
common
compat
compression
compute-pressure Bug 1870225 [wpt PR 43686] - compute pressure: Fix while loop to end earlier, a=testonly 2024-01-26 04:25:59 +00:00
conformance-checkers
console Bug 1878729 [wpt PR 44403] - Fix crash on console logging large array, a=testonly 2024-02-13 08:17:25 +00:00
contacts
content-dpr
content-index
content-security-policy Bug 1397308 - Implement CSP 'Is element nonceable?' check. r=emilio,hsivonen,freddyb 2024-01-26 14:56:32 +00:00
contenteditable
cookie-deprecation-label
cookie-store
cookies
core-aam Bug 1849264 [wpt PR 41522] - CORE-AAM: update mapping of button with aria-popup='dialog', a=testonly 2024-01-26 04:26:22 +00:00
cors
credential-management Bug 1877818 [wpt PR 44330] - [FedCM] Grant sharing permission in Resolve, a=testonly 2024-02-05 09:00:03 +00:00
css Bug 1845646 - Make sure to update scroll position updates in the first paint where the referent id hasn't been received. r=botond 2024-02-26 05:23:16 +00:00
custom-elements Bug 1878100 [wpt PR 44359] - Remove custom-elements/state/idlharness.window.js, a=testonly 2024-02-09 08:26:04 +00:00
delegated-ink
density-size-correction
deprecation-reporting
device-memory
direct-sockets
docs Bug 1869671 [wpt PR 43639] - Test harness and docs improvements for ShadowRealm testing, a=testonly 2024-01-22 09:08:31 +00:00
document-picture-in-picture Bug 1880269 [wpt PR 44582] - Enable CSS display-mode support for picture-in-picture by default, a=testonly 2024-02-22 08:56:34 +00:00
document-policy
dom Bug 1880379 [wpt PR 44594] - Fix overscroll events test, a=testonly 2024-02-22 08:56:41 +00:00
domparsing
domxpath
dpub-aam
dpub-aria
ecmascript
editing Bug 1814973 - Add reported testcase into the tree r=m_kato 2024-02-22 12:50:39 +00:00
element-timing
encoding Bug 1878058 [wpt PR 44353] - TextDecoder's decode() supports shared buffers, a=testonly 2024-02-05 08:59:54 +00:00
encoding-detection
encrypted-media
entries-api
event-timing Bug 1839882 [wpt PR 40698] - [Event Timing] Expose interactionId to Keypress & keydown/up under composition, a=testonly 2024-02-22 08:56:25 +00:00
eventsource Bug 1876458 [wpt PR 44186] - [wpt] Fix misnamed tests that get HTTP 404, a=testonly 2024-01-28 09:59:37 +00:00
eyedropper
feature-policy
fenced-frame Bug 1880382 [wpt PR 44595] - Revert "Add notifyEvent API for fenced frames.", a=testonly 2024-02-19 11:13:59 +00:00
fetch Bug 1879283 [wpt PR 44466] - Add more tests for dangling markup mitigation, a=testonly 2024-02-22 08:56:22 +00:00
file-system-access
FileAPI
fledge/tentative Bug 1880353 [wpt PR 44592] - [Protected Audiences] Add some generateBid browserSignals tests., a=testonly 2024-02-22 08:56:24 +00:00
focus Bug 1875913 [wpt PR 44126] - Ensure focus-large-element-in-overflow-hidden-container passes, a=testonly 2024-01-26 04:26:24 +00:00
font-access
fonts Bug 1875349 [wpt PR 44076] - Fully implement bidi for a line's trailing spaces (UAX#9 L1), a=testonly 2024-02-13 08:17:41 +00:00
forced-colors-mode
fs Bug 1874991 [wpt PR 44029] - FSA: Add WPTs testing FileSystemObserver creation, a=testonly 2024-01-26 04:26:15 +00:00
fullscreen
gamepad Bug 1870037 - Remove [SecureContext] from Gamepads r=webidl,smaug 2024-02-20 17:10:54 +00:00
generic-sensor Bug 1879141 [wpt PR 44444] - sensors: Make virtual sensors always remember and report the latest reading, a=testonly 2024-02-13 08:17:56 +00:00
geolocation-API
geolocation-sensor
graphics-aam
graphics-aria
gyroscope
hr-time
html Bug 1879120 - Remove all python deprecation warning: invalid escape sequence r=ahochheiden,webdriver-reviewers,perftest-reviewers,afinder UPGRADE_NSPR_RELEASE 2024-02-26 08:26:38 +00:00
html-aam Bug 1863659 [wpt PR 43013] - Tweak <aside> conditional mappings to check for more cases, a=testonly 2024-02-09 08:26:11 +00:00
html-longdesc
html-media-capture
https-upgrades
idle-detection
imagebitmap-renderingcontext
images
import-maps
IndexedDB Bug 1879251 [wpt PR 44465] - [bfcache]Update report strings for not restored reasons, a=testonly 2024-02-22 08:56:43 +00:00
inert Bug 1868316 - Remove user-find, make inert not findable. r=dholbert 2024-02-16 20:18:06 +00:00
infrastructure
input-device-capabilities
input-events
installedapp
interfaces Bug 1875246 [wpt PR 44067] - Add more Observable tests., a=testonly 2024-02-02 10:59:55 +00:00
intersection-observer Bug 1876839 [wpt PR 44237] - Support iframe scroll margin, a=testonly 2024-02-13 08:17:33 +00:00
intervention-reporting
is-input-pending
jpegxl
js
js-self-profiling
keyboard-lock
keyboard-map
largest-contentful-paint
layout-instability
lifecycle
loading
long-animation-frame Bug 1877777 [wpt PR 44325] - Split LoAF sourceLocation to 3 attributes, a=testonly 2024-02-13 08:17:23 +00:00
longtask-timing
magnetometer
managed
mathml Bug 1876684 - Export some MathML mpadded reftests to WPT. r=emilio 2024-02-03 10:46:11 +00:00
measure-memory
media
media-capabilities
media-playback-quality
media-source
mediacapture-extensions
mediacapture-fromelement
mediacapture-handle/identity
mediacapture-image
mediacapture-insertable-streams Bug 1877118 [wpt PR 44262] - Move tests using legacy MediaStreamTrackGenerator to a legacy folder, a=testonly 2024-02-05 08:59:52 +00:00
mediacapture-record Bug 1879970 [wpt PR 44551] - Fix typo in MediaRecorder-mimetype.html, a=testonly 2024-02-15 09:43:12 +00:00
mediacapture-region
mediacapture-streams
mediasession
merchant-validation
mimesniff
mixed-content
mst-content-hint
navigation-api
navigation-timing
netinfo
network-error-logging
notifications Bug 1874958 - Do not call CreateAndShow with the default permission r=asuth 2024-02-07 08:58:40 +00:00
old-tests
orientation-event Bug 1880232 [wpt PR 44577] - Add rounding test to orientation-event WPT, a=testonly 2024-02-19 11:14:05 +00:00
orientation-sensor Bug 1876120 [wpt PR 44145] - sensors: Read Euler angles instead of quaternions from WebDriver, a=testonly 2024-01-26 04:26:24 +00:00
page-lifecycle
page-visibility
paint-timing
parakeet
payment-handler
payment-method-basic-card
payment-method-id
payment-request
pending-beacon Bug 1874526 [wpt PR 43984] - [wptrunner] Do not include testharness{,report}.js twice, a=testonly 2024-01-20 10:35:41 +00:00
performance-timeline Bug 1879251 [wpt PR 44465] - [bfcache]Update report strings for not restored reasons, a=testonly 2024-02-22 08:56:43 +00:00
periodic-background-sync
permissions
permissions-policy
permissions-request
permissions-revoke
picture-in-picture
png Bug 1874499 [wpt PR 43980] - Add apng that uses cICP, a=testonly 2024-01-24 08:50:17 +00:00
pointerevents Bug 1880250 - Update pointerevents/META.yml suggested reviewers, r=edgar 2024-02-14 15:04:38 +00:00
pointerlock
preload Bug 1879576 [wpt PR 44501] - Remove loaders constant from preload/prefetch-document., a=testonly 2024-02-22 08:56:46 +00:00
presentation-api
print/crashtests
private-aggregation
private-click-measurement
proximity
push-api
quirks Bug 1877335 [wpt PR 44279] - blink: adds regression test, a=testonly 2024-02-02 11:00:19 +00:00
referrer-policy
remote-playback
reporting
requestidlecallback
resize-observer
resource-timing
resources Bug 1878426 [wpt PR 44387] - Remove declarative shadow DOM polyfill, a=testonly 2024-02-13 08:17:35 +00:00
sanitizer-api
savedata
scheduler
screen-capture
screen-details
screen-orientation
screen-wake-lock
scroll-animations Bug 1878205 [wpt PR 44369] - Change the behavior of clonable to be more opt-in, a=testonly 2024-02-15 09:42:50 +00:00
scroll-to-text-fragment
secure-contexts
secure-payment-confirmation
selection Bug 1874075 - Add reported testcase into WPT r=emilio 2024-02-22 12:50:39 +00:00
serial Bug 1878235 [wpt PR 44374] - serial: Migrate Web Serial MojoJS based tests to internal folder, a=testonly 2024-02-13 08:17:37 +00:00
server-timing
service-workers Bug 1879240 [wpt PR 44460] - Use OK status to check RaceNetworkRequest response, a=testonly 2024-02-13 08:17:48 +00:00
shadow-dom Bug 1880122 [wpt PR 44562] - Only check for matching mode in attachShadow, a=testonly 2024-02-22 08:56:50 +00:00
shape-detection Bug 1874526 [wpt PR 43984] - [wptrunner] Do not include testharness{,report}.js twice, a=testonly 2024-01-20 10:35:41 +00:00
shared-storage Bug 1879195 [wpt PR 44451] - [shared storage] Introduce WorkletOptions param, a=testonly 2024-02-15 09:43:08 +00:00
shared-storage-selecturl-limit Bug 1875220 [wpt PR 44060] - [shared storage] Allow creating multiple worklets per Window context, a=testonly 2024-02-13 08:17:44 +00:00
signed-exchange
soft-navigation-heuristics Bug 1880169 [wpt PR 44567] - Remove replaceState from SoftNav heuristics, a=testonly 2024-02-22 08:56:35 +00:00
speculation-rules Bug 1878446 [wpt PR 44389] - Don't reject same site prefetches with no-referrer, a=testonly 2024-02-13 08:17:32 +00:00
speech-api
storage
storage-access-api Bug 1880521 [wpt PR 44611] - [SAA] Fix chrome WPTs, a=testonly 2024-02-22 08:56:47 +00:00
streams
subapps
subresource-integrity
svg Backed out changeset 2acb906ab2fb (bug 1881754) for causing reftests failures. CLOSED TREE 2024-02-24 02:20:46 +02:00
svg-aam
timing-entrytypes-registry
tools Bug 1878110 - Change marionette based tests to import ES modules directly. r=arai,webdriver-reviewers,jgraham,application-update-reviewers,bytesized,migration-reviewers,mconley 2024-02-23 18:39:31 +00:00
top-level-storage-access-api
touch-events
trust-tokens
trusted-types Bug 1877968 [wpt PR 44350] - Mark fromLiteral test as tentative, a=testonly 2024-02-19 11:14:06 +00:00
ua-client-hints
uievents Bug 1879243 [wpt PR 44462] - Add coverage for webkit prefixed historical interface, a=testonly 2024-02-13 08:17:51 +00:00
upgrade-insecure-requests
url Bug 1880691 [wpt PR 44637] - URL: backslash after authority for special URLs, a=testonly 2024-02-22 08:56:48 +00:00
urlpattern
user-timing
vibration
video-rvfc
virtual-keyboard
visual-viewport
wai-aria Bug 1878363: Remove "contentinfo region scoped to main element is generic" WPT test. r=nlapre 2024-02-19 03:33:47 +00:00
wasm
web-animations Bug 1879374 [wpt PR 44478] - WebKit export: Implement parsing support for field-sizing, a=testonly 2024-02-15 09:42:49 +00:00
web-bundle
web-locks Bug 1878367 - Mark Web Locks tests non-tentative r=smaug 2024-02-05 17:42:44 +00:00
web-nfc
web-otp
web-share
webaudio Bug 1879715 - Relax slightly the SNR test for the OscillatorNode to account for all build configuration. r=media-playback-reviewers,alwu 2024-02-13 13:07:38 +00:00
webauthn Bug 1870877 [wpt PR 43729] - [WebAuthn] Add tests for cross-origin create(), a=testonly 2024-01-20 10:36:10 +00:00
webcodecs Bug 1877244 [wpt PR 44271] - Implement 4:4:4 encoding for AV1 high profile w/ WebCodecs., a=testonly 2024-02-02 11:00:03 +00:00
WebCryptoAPI Bug 1871059 [wpt PR 43751] - Test Ed25519 with small- and mixed-order points, a=testonly 2024-02-22 08:56:59 +00:00
webdriver Bug 1880477 - [wdspec] Add test for basic support of network.provideResponse r=webdriver-reviewers,Sasha 2024-02-22 16:17:21 +00:00
webgl
webgpu
webhid Bug 1880180 [wpt PR 44570] - Migrate WebHID MojoJS based tests to internal folder, a=testonly 2024-02-19 11:13:41 +00:00
webidl Bug 1871090 [wpt PR 43756] - Add a test for the mutability of the ShadowRealm global prototype chain, a=testonly 2024-01-22 09:08:40 +00:00
webmessaging
webmidi
webnn Bug 1877652 [wpt PR 44314] - [webnn] Add float32 tests for WebNN API l2Pool2d op, a=testonly 2024-02-22 08:56:54 +00:00
webrtc Bug 1879251 [wpt PR 44465] - [bfcache]Update report strings for not restored reasons, a=testonly 2024-02-22 08:56:43 +00:00
webrtc-encoded-transform Bug 1880645 [wpt PR 44625] - Revert "Implement constructor in RTCEncodedVideoFrame", a=testonly 2024-02-22 08:56:38 +00:00
webrtc-extensions Bug 1879391 [wpt PR 44483] - webrtc wpt: update RTCRtpParameters-codec.html to use receive-side setCodecPreferences, a=testonly 2024-02-15 09:42:52 +00:00
webrtc-ice
webrtc-identity
webrtc-priority
webrtc-stats Bug 1877431 [wpt PR 44285] - webrtc wpt: remove RTCStats-helper.js, a=testonly 2024-02-02 11:00:14 +00:00
webrtc-svc Bug 1880037 [wpt PR 44554] - webrtc wpt: update more tests to use receiver capabilities for setCodecPreferences, a=testonly 2024-02-19 11:13:35 +00:00
websockets Bug 1876861 [wpt PR 44240] - Add WebSocketError for WebSocketStream, a=testonly 2024-02-02 11:00:06 +00:00
webstorage
webtransport
webusb
webvr
webvtt
webxr Bug 1873958 [wpt PR 43924] - [WebXR] Implement clipping planes clamping, a=testonly 2024-01-29 07:40:07 +00:00
window-management
workers Bug 1878672 [wpt PR 44396] - [SAA] Implementing SharedWorker support (Part 3: Implement same-site cookie filtering), a=testonly 2024-02-19 11:13:32 +00:00
worklets
x-frame-options
xhr
.azure-pipelines.yml
.gitattributes
.gitignore
.mailmap
.taskcluster.yml Bug 1879487 [wpt PR 44493] - Add 'libegl1-mesa-dev' needed by Servo to the Docker image, a=testonly 2024-02-19 11:13:39 +00:00
CODE_OF_CONDUCT.md
CODEOWNERS
CONTRIBUTING.md
LICENSE.md
lint.ignore Bug 1881280 - Ignore lint error in css/css-highlight-api/historical.window.js to unblock the landing. 2024-02-22 08:57:01 +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!