fune/testing/web-platform/tests
Emilio Cobos Álvarez 60092186a4 Bug 1905743 - Handle button box in intrinsic text field sizing. r=dholbert a=RyanVM
See the previous patch commit message for the desired behavior. Keep
non-explicit sizing working the same, but make explicit sizing account
for the button box size. This matches other browsers, and generally
makes sure that the specified number of columns fit.

Unfortunately this is not testable by WPT because spinners are not
cross-platform / specified anywhere, but I added a Gecko WPT.
2024-07-02 21:17:35 +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 Bug 1883558 [wpt PR 44928] - Add WPT for tabbed display_override, a=testonly 2024-03-14 08:38:48 +00:00
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 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 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 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 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 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 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 1904228: Don't consider :scope selectors to be featureless outside of @scope. r=emilio, a=dmeehan 2024-06-24 18:15:27 +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 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
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 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 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 1899816 [wpt PR 46554] - Fix snap fling regression, a=testonly 2024-06-05 09:01:07 +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 Bug 1899928 [wpt PR 46558] - Update test to expect MediaKeySessionClosedReason, a=testonly 2024-06-05 09:01:13 +00:00
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 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 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 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 1905743 - Handle button box in intrinsic text field sizing. r=dholbert a=RyanVM 2024-07-02 21:17:35 +00:00
html-aam Bug 1886903 [wpt PR 45265] - Apply an accessible name to form., a=testonly 2024-03-27 10:30:21 +00:00
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 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 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 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 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 Bug 1882084 - Add WPT tests for fetchpriority in early hints preload. r=valentin 2024-06-05 08:04:06 +00:00
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 1895405 [wpt PR 46120] - Add a REFERENCE-IN-OTHER-TYPE lint, a=testonly 2024-05-21 09:46:46 +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 Bug 1881812 - Add a test for SWR assocation with notifications r=asuth 2024-06-03 13:00:05 +00: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 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 Bug 1884802 [wpt PR 44936] - add test for invalid ancillary after IDAT, a=testonly 2024-03-14 08:39:33 +00:00
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 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 Bug 1895586 [wpt PR 46147] - Add filtering ID WPTs, a=testonly 2024-05-21 09:46:24 +00:00
private-click-measurement
proximity
push-api
quirks
referrer-policy
remote-playback Bug 1886324 [wpt PR 45210] - [Remote Playback] Fix watchAvailability WPT., a=testonly 2024-03-22 17:34:33 +00:00
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 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 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 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 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 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 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 Bug 1892303 [wpt PR 45787] - Map assorted (unrelated) feature web-features, a=testonly 2024-04-23 09:47:44 +00:00
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 Bug 1895482 [wpt PR 46135] - Map storage access tests to web-features, a=testonly 2024-05-14 07:22:14 +00:00
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 1903352 - SVG attribute values should not be zoomed r=emilio a=RyanVM 2024-06-20 14:56:29 +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 1900112 [wpt PR 46569] - Add aggregatable debug reporting routes to RoutesBuilder, a=testonly 2024-06-07 07:39:04 +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 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 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 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 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 1895556 [wpt PR 46142] - ARIA: Add sectionheader and sectionfooter role tests, a=testonly 2024-06-03 07:40:32 +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 1897107 [wpt PR 46302] - Add @chrisguttandin to webaudio/ reviewers, a=testonly 2024-05-23 10:00:46 +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 1876438 - Extend timeout for temporal SVC encoding WPT r=media-playback-reviewers,padenot 2024-06-03 18:45:59 +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 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 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 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 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 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 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 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 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!