fune/testing/web-platform/tests
2024-03-19 13:36:48 +00:00
..
.github
.well-known Bug 1879121 [wpt PR 44443] - Add permissions .well-known endpoint for Protected Audience API WPTs., a=testonly 2024-03-01 20:10:14 +00:00
accelerometer
accessibility Bug 1883902 [wpt PR 44951] - Fix timeout in svg-mouse-listener a11y test, a=testonly 2024-03-14 08:38:35 +00:00
accname Bug 1884030 [wpt PR 44961] - [Interop] Add TestDriver support for get_computed_label and get_computed_role, a=testonly 2024-03-15 12:24:43 +00:00
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 Bug 1883558 [wpt PR 44928] - Add WPT for tabbed display_override, a=testonly 2024-03-14 08:38:48 +00:00
attribution-reporting Bug 1883405 [wpt PR 44904] - Support header error debug reports for Attribution Reporting API, a=testonly 2024-03-14 08:38:22 +00:00
audio-output
autoplay-policy-detection
avif
background-fetch
background-sync
badging
battery-status
beacon Bug 1882461 [wpt PR 44827] - Fix header-origin-same-origin.html test names as beacon without body use POST, a=testonly 2024-03-04 09:26:44 +00:00
bluetooth
browsing-topics
captured-mouse-events
clear-site-data
client-hints
clipboard-apis Bug 1879231 [wpt PR 44458] - [Async Clipboard] Write well-formed SVG images., a=testonly 2024-03-01 20:09:43 +00:00
close-watcher Bug 1883556 [wpt PR 44927] - CloseWatcher: fix Esc key tests, a=testonly 2024-03-14 08:38:43 +00:00
common
compat
compression
compute-pressure
conformance-checkers
console Bug 1885057 [wpt PR 45072] - Fix console.countReset manual test, a=testonly 2024-03-15 12:24:32 +00:00
contacts
content-dpr
content-index
content-security-policy Bug 1881014 [wpt PR 44672] - Remove required attributes from SecurityPolicyViolationEventInit, a=testonly 2024-02-27 08:15:44 +00:00
contenteditable
cookie-deprecation-label
cookie-store
cookies Bug 1882918 [wpt PR 44875] - Workaround to deflake 3PC heuristics WPT., a=testonly 2024-03-14 08:38:02 +00:00
core-aam
cors
credential-management Bug 1884828 [wpt PR 45008] - [RWI] Make navigator.identity.get() return DigitalCredential object, a=testonly 2024-03-14 08:39:47 +00:00
css Bug 1882581: Implement @scope parsing. r=firefox-style-system-reviewers,saschanaz,emilio 2024-03-19 13:36:48 +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
device-posture Bug 1884800 [wpt PR 45006] - [Device Posture] Add IDLHarness test for Device Posture., a=testonly 2024-03-14 08:39:31 +00:00
direct-sockets
docs
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 1885229 [wpt PR 45094] - DOM: Correct script-in-script atomic move WPT expectations, a=testonly 2024-03-15 12:24:53 +00:00
domparsing
domxpath
dpub-aam
dpub-aria
ecmascript
editing Bug 1881906 - Make HTMLEditUtils treat <br> elements always inline r=m_kato 2024-03-05 11:47:04 +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
eyedropper
feature-policy
fenced-frame Bug 1879398 [wpt PR 44484] - Enable sharedStorage.get() in network-restricted fenced frames., a=testonly 2024-03-18 10:35:25 +00:00
fetch Bug 1874132 - remove auth headers from preflight request for cross origin requests. r=necko-reviewers,valentin 2024-03-18 08:48:10 +00:00
file-system-access
FileAPI
fledge/tentative Bug 1884225 [wpt PR 44983] - [ProtectedAudience] Add more generateBid() browserSignals tests., a=testonly 2024-03-14 08:39:11 +00:00
focus
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
fullscreen
gamepad Bug 1881177 [wpt PR 44691] - Gamepad: test interfaces are in insecure context, a=testonly 2024-02-27 08:15:33 +00:00
generic-sensor Bug 1880982 [wpt PR 44668] - Remove the unused generic_sensor_mocks.js and all references to it, a=testonly 2024-02-27 08:15:27 +00:00
geolocation-API
geolocation-sensor
graphics-aam
graphics-aria
gyroscope
hr-time
html Bug 1885549 [wpt PR 45124] - Revert "[PEPC] Add restrictions to word-spacing for PEPC", a=testonly 2024-03-18 10:35:42 +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 1884857 [wpt PR 44999] - IDB: idbobjectstore_put WPT extended to workers in addition to window., a=testonly 2024-03-15 12:24:13 +00:00
inert Bug 1884114 [wpt PR 44973] - [inert] The modal dialog and the fullscreen element should escape inertness of ancestor, a=testonly 2024-03-14 08:39:16 +00:00
infrastructure Bug 1879449 [wpt PR 44489] - [wptrunner] Add infrastructure/expected-fail/ test for user prompts, a=testonly 2024-03-14 08:38:18 +00:00
input-device-capabilities
input-events
installedapp
interfaces Bug 1884008 [wpt PR 44959] - Drop 'auto' keyword from invokeaction attribute, a=testonly 2024-03-14 08:39:05 +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 1883606 - Export more MathML crashtests to WPT. r=emilio 2024-03-08 15:40:22 +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 1881138 [wpt PR 44683] - Fix invalid duration and mfra box for live mode., a=testonly 2024-02-27 08:15:31 +00:00
mediacapture-region
mediacapture-streams Bug 1883463 [wpt PR 44909] - Add historical test for navigator.getUserMedia, a=testonly 2024-03-14 08:38:14 +00:00
mediasession
merchant-validation
mimesniff
mixed-content
mst-content-hint
navigation-api
navigation-timing
netinfo
network-error-logging
notifications Bug 1879934 - Observe window events only for non-persistent notifications r=asuth 2024-03-02 01:06:12 +00:00
old-tests
orientation-event Bug 1880982 [wpt PR 44668] - Remove the unused generic_sensor_mocks.js and all references to it, a=testonly 2024-02-27 08:15:27 +00:00
orientation-sensor
page-lifecycle
page-visibility
paint-timing
parakeet
payment-handler
payment-method-basic-card
payment-method-id
payment-request
pending-beacon
performance-timeline Bug 1882010 [wpt PR 44781] - [bfcache] Start blocking on parser abort, a=testonly 2024-03-04 09:26:42 +00:00
periodic-background-sync
permissions
permissions-policy
permissions-request
permissions-revoke
picture-in-picture
png Bug 1884802 [wpt PR 44936] - add test for invalid ancillary after IDAT, a=testonly 2024-03-14 08:39:33 +00:00
pointerevents Bug 1885223 - Update the pointer boundary event tests in pointerevent_after_target_appended.html to align with the spec; r=masayuki 2024-03-18 23:29:56 +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 Bug 1882445 [wpt PR 44824] - Add WPTs for auctionReportBuyersDebugModeConfig, fix crash identified, a=testonly 2024-03-04 09:27:04 +00:00
private-click-measurement
proximity
push-api
quirks Bug 1882041 [wpt PR 44785] - layout: Add line height from preserved segment breaks in quirks mode, a=testonly 2024-03-01 20:10:21 +00:00
referrer-policy
remote-playback
reporting
requestidlecallback
resize-observer
resource-timing
resources Bug 1865453 [wpt PR 43240] - serial: Expose connection state for Bluetooth serial ports, a=testonly 2024-03-14 08:38:29 +00:00
sanitizer-api
savedata
scheduler
screen-capture
screen-details
screen-orientation
screen-wake-lock
scroll-animations Bug 1881414 [wpt PR 44722] - Increase fuzzy for scroll-animations/css/animation-range-visual-test.html, a=testonly 2024-03-01 20:10:03 +00:00
scroll-to-text-fragment
secure-contexts
secure-payment-confirmation
selection Bug 1883802 - Make ShadowRoot notify mutation observers of "parent chain changed" r=smaug 2024-03-11 23:46:58 +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 1884736 [wpt PR 44998] - Add WPT for the length of router rules, a=testonly 2024-03-14 08:39:42 +00:00
shadow-dom Bug 1882346 [wpt PR 44815] - Switch to GetFocusDelegate() in GetFocusableArea(), a=testonly 2024-03-04 09:27:12 +00:00
shape-detection
shared-storage Bug 1880383 [wpt PR 44596] - [shared storage] Support cross-origin worklet, a=testonly 2024-03-01 20:10:32 +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 1882388 [wpt PR 44818] - view-transition: Fix bugs with pre-render integration., a=testonly 2024-03-04 09:26:49 +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 Bug 1883804 - Only unescape ASCII chars in IDTracker::ResetWithLocalRef. r=longsonr 2024-03-19 13:11:05 +00:00
svg-aam Bug 1879219 [wpt PR 44457] - Moves SVG image role test to a tentative file, a=testonly 2024-03-14 08:39:00 +00:00
timing-entrytypes-registry
tools Bug 1885150 [wpt PR 45084] - Retry emulator.wait_for_start() if it fails, a=testonly 2024-03-15 12:24:54 +00:00
top-level-storage-access-api
touch-events Bug 1880594 - Make PresShell::EventHandler dispatch mouse events as a default action of eTouchEnd if it's dispatched without APZ r=smaug 2024-02-27 01:25:51 +00:00
trust-tokens
trusted-types Bug 1881494 [wpt PR 44724] - Trusted Types: add tests for setAttributeNS with non-lowercase attributes with untrusted strings, a=testonly 2024-03-14 08:39:00 +00:00
ua-client-hints
uievents Bug 1879325 [wpt PR 44472] - UIEvents: Test the textInput event, a=testonly 2024-03-01 20:09:50 +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 1885178 [wpt PR 45021] - Reland "Skip static animations on compositor and main", a=testonly 2024-03-15 12:24:35 +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 1871838 crashtest with OscillatorNode stop time before start time with AudioParam r=padenot 2024-03-05 23:03:26 +00:00
webauthn
webcodecs Bug 1874293 - Properly propagate errors when the description is detached in isConfigSupported. r=peterv 2024-03-12 16:36:00 +00:00
WebCryptoAPI Bug 1881368 [wpt PR 44719] - Refactoring of the EdDSA tests, a=testonly 2024-03-18 10:35:35 +00:00
webdriver Bug 1884647 - [wdpspec] Add more tests for partitioning. r=webdriver-reviewers,jdescottes 2024-03-15 15:08:56 +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
webmessaging
webmidi Bug 1883492 [wpt PR 44913] - Block or allow all MIDI using the existing SysEx permission, a=testonly 2024-03-14 08:39:29 +00:00
webnn Bug 1884895 [wpt PR 45051] - webnn: Migrated unit tests for input and constant interfaces into WPT, a=testonly 2024-03-18 10:35:31 +00:00
webrtc Bug 1882399 - Make pc.localDescription etc. attributes behave like data properties in nightly. r=bwc 2024-03-08 20:58:09 +00:00
webrtc-encoded-transform Bug 1880643 [wpt PR 44624] - Implement constructor in RTCEncodedAudioFrame, a=testonly 2024-03-18 10:35:41 +00:00
webrtc-extensions Bug 1882161 [wpt PR 44792] - Rewrite jitterBufferTarget test, a=testonly 2024-03-14 08:39:39 +00:00
webrtc-ice
webrtc-identity
webrtc-priority
webrtc-stats Bug 1881968 [wpt PR 44775] - webrtc wpt: add test for stats consistency, a=testonly 2024-03-01 20:10:12 +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 1881996 [wpt PR 44779] - WebSocketStream: Use one WebSocketError object to error everything, a=testonly 2024-03-04 09:26:44 +00:00
webstorage
webtransport Bug 1859895 [wpt PR 42612] - Implement WebTransport.getStats() API, a=testonly 2024-02-27 08:15:22 +00:00
webusb
webvr
webvtt
webxr
window-management
workers Bug 1885078 [wpt PR 44990] - Pluralize Sec-CH-UA-Form-Factor/formFactor, a=testonly 2024-03-15 12:24:31 +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 1885524 [wpt PR 45019] - CSSOM: add CSSStyleDeclaration cssText setter tests, a=testonly 2024-03-18 10:35:40 +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!