fune/testing/web-platform/tests
Luke Warlow 12a4e6fb6e Bug 1830576 - Update textarea intrinsic height calculations r=dholbert
This change adds a new layout.forms.textarea-sizing-excludes-auto-scrollbar.enabled pref that controls the height calculations for textareas.

With the pref enabled (the default) textareas only include the scrollbar size in the height calculations when overflow-x is scroll, this matches Chromium and WebKit.

Also adds a corresponding WPT for this.

Differential Revision: https://phabricator.services.mozilla.com/D210796
2024-05-18 14:12:26 +00:00
..
.github Bug 1893679 [wpt PR 45929] - Support Python 3.12, a=testonly 2024-05-06 07:43:09 +00:00
.well-known
accelerometer
accessibility Bug 1889219 [wpt PR 45476] - [A11y] Only top down creation, a=testonly 2024-04-23 09:46:54 +00:00
accname Bug 1892352 [wpt PR 45794] - Interop: correct invalid nbsp trimming label tests, a=testonly 2024-04-29 07:28:04 +00:00
acid
ambient-light
animation-worklet
annotation-model
annotation-protocol
annotation-vocab
apng
appmanifest
attribution-reporting Bug 1894146 [wpt PR 45970] - Use resource-level referrer policy for attributionsrc requests, a=testonly 2024-05-06 07:42:56 +00:00
audio-output Bug 1860492 - Stop using Theora files in WPT. r=jgraham 2024-04-04 15:02:41 +00:00
autoplay-policy-detection
avif
background-fetch
background-sync
badging
battery-status
beacon
bluetooth Bug 1889184 [wpt PR 45470] - Map tests to web-features for simple cases, a=testonly 2024-04-10 09:25:30 +00:00
browsing-topics
captured-mouse-events
clear-site-data
client-hints
clipboard-apis Bug 1858788 - Implement ClipboardItem.supports; r=nika 2024-04-18 22:32:54 +00:00
close-watcher Bug 1892677 [wpt PR 45818] - Close watchers: always fire cancel events, a=testonly 2024-04-25 13:29:12 +00:00
common Bug 1860492 - Stop using Theora files in WPT. r=jgraham 2024-04-04 15:02:41 +00:00
compat
compression Bug 1889292 [wpt PR 45483] - update tests which are generic across all TypedArrays for Float16Array, a=testonly 2024-04-15 08:50:13 +00:00
compute-pressure Bug 1895290 [wpt PR 46097] - Map compute pressure tests to web-features, a=testonly 2024-05-14 07:21:37 +00:00
conformance-checkers
console
contacts
content-dpr
content-index
content-security-policy Bug 1892661 [wpt PR 45816] - CSP: Add a test for * in pattern's host-part., a=testonly 2024-04-29 07:27:44 +00:00
contenteditable
cookie-deprecation-label
cookie-store
cookies Bug 1894187 [wpt PR 45980] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=272740, a=testonly 2024-05-14 07:21:55 +00:00
core-aam
cors
credential-management Bug 1892852 [wpt PR 45837] - Remove old navigator.credentials.get RWI API, a=testonly 2024-05-08 07:01:42 +00:00
css Bug 1891700 - Additional font-palette-values color-mix testcases. r=firefox-style-system-reviewers,emilio 2024-05-15 10:45:18 +00:00
custom-elements Bug 1895223 [wpt PR 46086] - Map form-associated custom element tests to web-features, a=testonly 2024-05-14 07:21:36 +00:00
delegated-ink
density-size-correction
deprecation-reporting Bug 1888731 - Add bugzilla components for wpt tests and adjust implementation status as needed. r=aryx 2024-05-03 22:35:58 +00:00
device-memory
device-posture Bug 1892881 [wpt PR 45839] - Convert existing device posture web tests to test_driver, a=testonly 2024-04-29 07:27:54 +00:00
direct-sockets Bug 1894836 [wpt PR 46049] - [DirectSockets] Add self-contained WPTs for the Direct Sockets API, a=testonly 2024-05-14 07:21:41 +00:00
docs Bug 1890260 [wpt PR 45602] - Add device posture-related commands to testdriver, a=testonly 2024-04-23 09:47:14 +00:00
document-picture-in-picture
document-policy Bug 1860492 - Stop using Theora files in WPT. r=jgraham 2024-04-04 15:02:41 +00:00
dom Bug 1835844 - Move some scrollend subtests to test variants. r=hiro 2024-05-17 12:34:49 +00:00
domparsing
domxpath Bug 1888726 [wpt PR 45436] - Update U+212A handling case to not follow XPath Specification, a=testonly 2024-04-10 09:25:02 +00:00
dpub-aam Bug 1886896 [wpt PR 45263] - Adding "doc-credit" to DPUB ARIA roles, a=testonly 2024-04-23 09:47:24 +00:00
dpub-aria
ecmascript
editing Bug 1877513 - Make HTMLEditor deletes only preceding lines of right child block if the range starts from start of a line r=m_kato 2024-04-27 00:36:26 +00:00
element-timing
encoding Bug 1889292 [wpt PR 45483] - update tests which are generic across all TypedArrays for Float16Array, a=testonly 2024-04-15 08:50:13 +00:00
encoding-detection
encrypted-media
entries-api
event-timing Bug 1888256 [wpt PR 45386] - Event Timing: Treat Orphan Pointerup As Non-Interaction, a=testonly 2024-04-10 09:26:37 +00:00
eventsource Bug 1895562 [wpt PR 46143] - [eventsource] Repair eventsource-request-cancellation.window.js, a=testonly 2024-05-14 07:22:22 +00:00
eyedropper
feature-policy
fenced-frame Bug 1891840 [wpt PR 45747] - Deflake attempt for fenced frame null config -> about:blank WPT, a=testonly 2024-04-23 09:47:11 +00:00
fetch Bug 1895043 [wpt PR 46070] - [fetch-later] Upstream send-on-deactivate-with-background-sync..., a=testonly 2024-05-14 07:22:20 +00:00
file-system-access
FileAPI Bug 1889292 [wpt PR 45483] - update tests which are generic across all TypedArrays for Float16Array, a=testonly 2024-04-15 08:50:13 +00:00
fledge/tentative Bug 1895400 [wpt PR 46115] - FLEDGE: WPT that cross-origin trusted signals don't fetch when forbidden, a=testonly 2024-05-14 07:22:19 +00:00
focus Bug 1892121 [wpt PR 45773] - Make cross-origin-ancestor-activeelement-after-child-lose-focus.sub.html more robust., a=testonly 2024-04-23 09:47:23 +00:00
font-access
fonts Bug 1889884 [wpt PR 45569] - [text-spacing-trim] Support when required glyphs are missing, a=testonly 2024-04-15 08:50:16 +00:00
forced-colors-mode
fs Bug 1863765 - Part 1: Wrap WriteCallback in UnderlyingSinkAlgorithmsWrapper r=smaug 2024-04-04 17:50:10 +00:00
fullscreen
gamepad Bug 1890024 [wpt PR 45582] - [Gamepad] Implement manual WPT for playEffect, a=testonly 2024-04-19 07:34:00 +00:00
generic-sensor
geolocation-API Bug 1893090 [wpt PR 45862] - Geolocation: set allow attr for cross-origin policy tests, a=testonly 2024-04-29 07:28:12 +00:00
geolocation-sensor
graphics-aam
graphics-aria
gyroscope
hr-time
html Bug 1830576 - Update textarea intrinsic height calculations r=dholbert 2024-05-18 14:12:26 +00:00
html-aam
html-longdesc
html-media-capture Bug 1889184 [wpt PR 45470] - Map tests to web-features for simple cases, a=testonly 2024-04-10 09:25:30 +00:00
https-upgrades
idle-detection
imagebitmap-renderingcontext
images
import-maps Bug 1890696 [wpt PR 45638] - Subresource Integrity support for ES modules, using importmaps, a=testonly 2024-05-14 07:22:03 +00:00
IndexedDB Bug 1878134 - Check that ArrayBuffers in IDB keys are not detached. r=dom-storage-reviewers,janv 2024-05-08 14:33:10 +00:00
inert Bug 1894294 [wpt PR 45990] - Make find-in-page inert check look at flat tree, a=testonly 2024-05-06 07:42:58 +00:00
infrastructure Bug 1894875 [wpt PR 46053] - Stop running Chrome+Firefox infrastructure/ tests on macOS, a=testonly 2024-05-14 07:22:02 +00:00
input-device-capabilities
input-events Bug 1891659 - Make AutoBlockElementsJoiner::DeleteTextAtStartAndEndOfRange() handle the case when the range in a text node r=m_kato 2024-04-25 03:47:41 +00:00
installedapp
interfaces Bug 1893630 [wpt PR 45928] - Sync interfaces/ with @webref/idl 3.47.1, a=testonly 2024-05-06 07:43:13 +00:00
intersection-observer Bug 1889184 [wpt PR 45470] - Map tests to web-features for simple cases, a=testonly 2024-04-10 09:25:30 +00:00
intervention-reporting
is-input-pending
jpegxl Bug 1889184 [wpt PR 45470] - Map tests to web-features for simple cases, a=testonly 2024-04-10 09:25:30 +00:00
js
js-self-profiling
keyboard-lock
keyboard-map
largest-contentful-paint Bug 1894144 [wpt PR 45969] - Exclude transparent text with decorations from being skipped for LCP, a=testonly 2024-05-14 07:22:18 +00:00
layout-instability
lifecycle
loading
long-animation-frame Bug 1893513 [wpt PR 45914] - Revert "Reland "LoAF: Use document character position for inline scripts"", a=testonly 2024-04-30 08:00:45 +00:00
longtask-timing
magnetometer
managed
mathml Bug 1866418 [wpt PR 43334] - Add tests for ::first-letter and ::first-line with MathML, a=testonly 2024-04-19 07:34:12 +00:00
measure-memory
media Bug 1860492 - Stop using Theora files in WPT. r=jgraham 2024-04-04 15:02:41 +00:00
media-capabilities
media-playback-quality
media-source
mediacapture-extensions Bug 1890500 [wpt PR 45623] - Implement MediaStreamTrackAudioStats, a=testonly 2024-04-19 07:34:10 +00:00
mediacapture-fromelement
mediacapture-handle/identity
mediacapture-image
mediacapture-insertable-streams
mediacapture-record Bug 1892801 [wpt PR 45832] - Reland Enable MP4 Muxer support after MSAN fix., a=testonly 2024-05-08 07:02:01 +00:00
mediacapture-region
mediacapture-streams Bug 1888308 [wpt PR 45398] - Reland "[Element Capture] add restrictTo WPT test", a=testonly 2024-04-19 07:33:57 +00:00
mediasession Bug 1895034 [wpt PR 46067] - Update the wpt test with chapterInfo, a=testonly 2024-05-14 07:21:46 +00:00
merchant-validation
mimesniff Bug 1889454 [wpt PR 45506] - Revert "Reland "Minimize content type in resource timing"", a=testonly 2024-04-10 09:25:57 +00:00
mixed-content Bug 1860492 - Stop using Theora files in WPT. r=jgraham 2024-04-04 15:02:41 +00:00
mst-content-hint
navigation-api Bug 1895085 [wpt PR 46072] - Check use of NavigateEvent.sourceElement, a=testonly 2024-05-08 07:02:17 +00:00
navigation-timing
netinfo
network-error-logging
notifications Backed out 2 changesets (bug 1878741) for causing mozilla::PermissionManager::CommonTestPermissionInternal related crashes. 2024-05-17 14:06:34 +03:00
old-tests
orientation-event Bug 1894749 [wpt PR 46035] - Map orientation event tests to web-features, a=testonly 2024-05-08 07:01:50 +00:00
orientation-sensor
page-lifecycle
page-visibility
paint-timing
parakeet
payment-handler
payment-method-basic-card Bug 1878800 [wpt PR 44409] - Revert "Remove shipping related things from payment-request (#28830)" , a=testonly 2024-04-10 09:25:16 +00:00
payment-method-id
payment-request Bug 1878800 [wpt PR 44409] - Revert "Remove shipping related things from payment-request (#28830)" , a=testonly 2024-04-10 09:25:16 +00:00
performance-timeline Bug 1888053 [wpt PR 45337] - [bfcache] Report null when iframes' atrributes are null, a=testonly 2024-04-10 09:25:07 +00:00
periodic-background-sync
permissions
permissions-policy Bug 1888874 [wpt PR 45443] - Payment Request: fix permission policy tests, a=testonly 2024-04-15 08:50:38 +00:00
permissions-request
permissions-revoke
picture-in-picture
png
pointerevents Bug 1888013 - Make EventStateManager try to dispatch pointer boundary events before dispatching an ePointerUp r=smaug,edgar,dom-core 2024-05-14 23:23:04 +00:00
pointerlock Bug 1889184 [wpt PR 45470] - Map tests to web-features for simple cases, a=testonly 2024-04-10 09:25:30 +00:00
preload Bug 1895197 [wpt PR 46077] - Map modulepreload tests to web-features, a=testonly 2024-05-08 07:02:22 +00:00
presentation-api
print/crashtests
private-aggregation
private-click-measurement
proximity
push-api
quirks
referrer-policy
remote-playback
reporting
requestidlecallback
resize-observer
resource-timing Bug 1889888 [wpt PR 45570] - Use "script" as the initiatorType in resource timing for modules, a=testonly 2024-04-19 07:33:48 +00:00
resources Bug 1894836 [wpt PR 46049] - [DirectSockets] Add self-contained WPTs for the Direct Sockets API, a=testonly 2024-05-14 07:21:41 +00:00
sanitizer-api
savedata
scheduler Bug 1894838 [wpt PR 46014] - Scheduling APIs: Inherit by default in yield(), a=testonly 2024-05-08 07:01:54 +00:00
screen-capture Bug 1893385 [wpt PR 45902] - Sketching [InjectionMitigated] for getAllScreensMedia()., a=testonly 2024-05-06 07:42:35 +00:00
screen-details Bug 1890686 [wpt PR 45636] - Remove legacy window-placement code., a=testonly 2024-05-02 07:27:26 +00:00
screen-orientation
screen-wake-lock Bug 1890244 [wpt PR 45599] - Screen Wake Lock: Add test for non-fully active doc, a=testonly 2024-04-15 08:50:37 +00:00
scroll-animations Bug 1892979 [wpt PR 45849] - [scroll-timeline] Remove CSSAnimationDelayStartEnd + properties, a=testonly 2024-04-29 07:28:15 +00:00
scroll-to-text-fragment Bug 1895555 - Text Fragments: Implement same-document navigation. r=farre,dom-core 2024-05-17 12:16:00 +00:00
secure-contexts
secure-payment-confirmation
selection Bug 1891783 - Fix two more bugs in ShadowDOM Selection r=jjaschke,smaug,dom-core 2024-05-13 20:24:04 +00:00
serial
server-timing Bug 1889184 [wpt PR 45470] - Map tests to web-features for simple cases, a=testonly 2024-04-10 09:25:30 +00:00
service-workers Bug 1890696 [wpt PR 45638] - Subresource Integrity support for ES modules, using importmaps, a=testonly 2024-05-14 07:22:03 +00:00
shadow-dom Backed out changeset 822a570ebc0a (bug 1892882) for causing wpt failures in idlharness.window.html?exclude=Node CLOSED TREE 2024-05-14 19:10:34 -04:00
shape-detection
shared-storage Bug 1895588 [wpt PR 46149] - Shared Storage: Only suppress site-specific cross-origin prefs error, a=testonly 2024-05-14 07:22:24 +00:00
shared-storage-selecturl-limit
signed-exchange
soft-navigation-heuristics
speculation-rules Bug 1895000 [wpt PR 46060] - Correct responseStart and similar timestamp for prefetches which blocked on head, a=testonly 2024-05-14 07:21:50 +00:00
speech-api Bug 1892303 [wpt PR 45787] - Map assorted (unrelated) feature web-features, a=testonly 2024-04-23 09:47:44 +00:00
storage Bug 1890879 [wpt PR 45655] - Storage buckets: throw TypeError when window context is destroyed., a=testonly 2024-04-19 07:34:19 +00:00
storage-access-api Bug 1895482 [wpt PR 46135] - Map storage access tests to web-features, a=testonly 2024-05-14 07:22:14 +00:00
streams Bug 1893200 [wpt PR 45878] - Revert "Reapply "Use typed promises/resolvers for ReadableStream and related classes"", a=testonly 2024-04-29 07:27:50 +00:00
subapps
subresource-integrity
svg Bug 1892089: Support font-relative line-height units in SVG. r=longsonr,emilio 2024-05-07 20:35:08 +00:00
svg-aam Bug 1886522 [wpt PR 45221] - Fix harness error in SVG AAM test, a=testonly 2024-04-10 09:24:41 +00:00
timing-entrytypes-registry
tools Bug 1894824 [wpt PR 46042] - Use email.utils.parsedate_to_datetime to parse RFC (2)822 dates, a=testonly 2024-05-14 07:22:27 +00:00
top-level-storage-access-api
touch-events
trust-tokens Bug 1890637 [wpt PR 45631] - Don't expect an undefined promise in a detached iframe, a=testonly 2024-04-19 07:33:51 +00:00
trusted-types Bug 1895544 [wpt PR 46141] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=273819, a=testonly 2024-05-14 07:22:29 +00:00
ua-client-hints
uievents Bug 1888018 - part 3: Make OverOutElementsWrapper restore original mouseover target if it's removed temporarily r=smaug 2024-05-14 01:37:35 +00:00
upgrade-insecure-requests
url Bug 1894770 [wpt PR 46028] - Map URL.canParse() tests to web-features, a=testonly 2024-05-08 07:01:47 +00:00
urlpattern
user-timing
vibration
video-rvfc Bug 1895301 [wpt PR 46101] - Map requestVideoFrameCallback() tests to web-features, a=testonly 2024-05-14 07:22:11 +00:00
virtual-keyboard
visual-viewport Bug 1889184 [wpt PR 45470] - Map tests to web-features for simple cases, a=testonly 2024-04-10 09:25:30 +00:00
wai-aria Bug 1885976 [wpt PR 45174] - Enable missed '.ex-generic' orphaned role tests, a=testonly 2024-04-10 09:24:52 +00:00
wasm Bug 1888320 [wpt PR 45401] - [wasm] esm integration test updates, a=testonly 2024-04-10 09:25:49 +00:00
web-animations Bug 1890368 [wpt PR 45612] - Short-circuit interpolation calculation for a static-valued property, a=testonly 2024-04-19 07:34:38 +00:00
web-bundle
web-locks Bug 1894752 [wpt PR 46037] - Map web locks tests to web-features, a=testonly 2024-05-08 07:01:51 +00:00
web-nfc
web-otp
web-share
webaudio Bug 1887036 [wpt PR 45278] - [webaudio] Fix AudioDestinationNode asserting numberOfOutputs = 1, a=testonly 2024-04-08 07:54:56 +00:00
webauthn Bug 1894715 [wpt PR 46031] - Map WebAuthn getPublicKey test to web-features, a=testonly 2024-05-08 07:01:59 +00:00
webcodecs Bug 1895635 - Add av1 to video-encoder-flush WPT r=media-playback-reviewers,padenot 2024-05-14 00:56:42 +00:00
WebCryptoAPI Bug 1889292 [wpt PR 45483] - update tests which are generic across all TypedArrays for Float16Array, a=testonly 2024-04-15 08:50:13 +00:00
webdriver Bug 1894217 - [wdspec] Add more tests for "userContext" argument in "permissions.setPermission" command. r=webdriver-reviewers,whimboo 2024-05-15 09:21:51 +00:00
webgl
webgpu
webhid
webidl Bug 1887721 - Use correct order when defining length/name/prototype on legacy factory functions. r=saschanaz 2024-04-24 15:32:10 +00:00
webmessaging
webmidi Bug 1889184 [wpt PR 45470] - Map tests to web-features for simple cases, a=testonly 2024-04-10 09:25:30 +00:00
webnn Bug 1895029 [wpt PR 46064] - webnn: Support the convTranspose2d operator in CoreML, a=testonly 2024-05-14 07:22:23 +00:00
webrtc Bug 1894833 [wpt PR 46047] - webrtc wpt: rename tests that check createOffer/createAnswer return value, a=testonly 2024-05-14 07:21:32 +00:00
webrtc-encoded-transform Bug 1892892 [wpt PR 45840] - Change constructor definition to reflect the latest spec, a=testonly 2024-04-25 13:29:17 +00:00
webrtc-extensions Bug 1396922 - Implement |setCodecPreferences| in RTCRtpTransceiver;r=bwc,jib,webidl,smaug 2024-05-13 20:10:46 +00:00
webrtc-ice
webrtc-identity
webrtc-priority
webrtc-stats
webrtc-svc
websockets Bug 1891455 [wpt PR 45711] - Bump pywebsocket3 to 4.0.2 from PyPI, a=testonly 2024-04-23 09:46:53 +00:00
webstorage
webtransport Bug 1863765 - Part 1: Wrap WriteCallback in UnderlyingSinkAlgorithmsWrapper r=smaug 2024-04-04 17:50:10 +00:00
webusb
webvr
webvtt Bug 1348181 - update VTT parser so </ruby> also closes <rt>; r=alwu 2024-05-06 21:34:36 +00:00
webxr
window-management
workers Bug 1895210 [wpt PR 46081] - Map JS modules in worker tests to web-features, a=testonly 2024-05-08 07:02:21 +00:00
worklets
x-frame-options Bug 1891467 - Don't strip whitespace within X-Frame-Options values r=tschuster 2024-04-16 17:06:42 +00:00
xhr Bug 1889292 [wpt PR 45483] - update tests which are generic across all TypedArrays for Float16Array, a=testonly 2024-04-15 08:50:13 +00:00
.azure-pipelines.yml Bug 1894875 [wpt PR 46053] - Stop running Chrome+Firefox infrastructure/ tests on macOS, a=testonly 2024-05-14 07:22:02 +00:00
.gitattributes
.gitignore
.mailmap
.taskcluster.yml
CODE_OF_CONDUCT.md
CODEOWNERS
CONTRIBUTING.md
LICENSE.md
lint.ignore Bug 1894836 [wpt PR 46049] - [DirectSockets] Add self-contained WPTs for the Direct Sockets API, a=testonly 2024-05-14 07:21:41 +00:00
README.md
wpt Bug 1889926 [wpt PR 45575] - Bump minimum version of Python from 3.7 to 3.8, a=testonly 2024-04-23 09:46:49 +00:00
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!