fune/testing/web-platform/tests
2019-10-22 19:02:36 +00:00
..
.github Bug 1587032 [wpt PR 19567] - [GitHub Actions] shorten names of workflow files and names, a=testonly 2019-10-17 19:25:24 +00:00
.well-known
2dcontext Bug 1586424 [wpt PR 19529] - Allow using CORS filtered image responses as WebGL textures, a=testonly 2019-10-17 19:25:21 +00:00
accelerometer Bug 1579320 [wpt PR 18886] - [sensor] Upstream sensor layout tests to wpt, a=testonly 2019-09-20 21:49:54 +00:00
accname
acid
ambient-light Bug 1579320 [wpt PR 18886] - [sensor] Upstream sensor layout tests to wpt, a=testonly 2019-09-20 21:49:54 +00:00
animation-worklet Bug 1584430 [wpt PR 19353] - [ScrollTimeline] Remove CompositingReason::kScrollTimelineTarget, a=testonly 2019-10-14 11:23:21 +00:00
annotation-model
annotation-protocol
annotation-vocab
apng
appmanifest
audio-output Bug 1576633 [wpt PR 18677] - Convert some tests to use idl_test, a=testonly 2019-08-29 09:59:09 +00:00
background-fetch
BackgroundSync Bug 1577456 [wpt PR 18743] - Rename many idlharness.js tests to idlharness.*, a=testonly 2019-09-03 14:23:25 +00:00
battery-status Bug 1488308 [wpt PR 7944] - Add feature-policy to battery-status, a=testonly 2019-09-30 14:01:48 +00:00
beacon Bug 1576633 [wpt PR 18677] - Convert some tests to use idl_test, a=testonly 2019-08-29 09:59:09 +00:00
bluetooth Bug 1578692 [wpt PR 18832] - Remove explicit testharness(report).js includes in Bluetooth tests, a=testonly 2019-09-09 11:54:48 +01:00
clear-site-data Bug 1582047 [wpt PR 19132] - Clear-Site-Data: clients uncontrolled by service workers, a=testonly 2019-10-17 19:25:18 +00:00
client-hints Bug 1578813 [wpt PR 18841] - Make Sec-CH-UA-* headers camel case and quotes, a=testonly 2019-09-30 14:02:07 +00:00
clipboard-apis Bug 1565034 [wpt PR 17752] - Async Clipboard: Fix off-by-one renderer crash, a=testonly 2019-07-24 13:33:59 +01:00
common Bug 1587081 [wpt PR 19569] - Rename lone .headers file, a=testonly 2019-10-17 19:25:25 +00:00
compat Bug 1586417 [wpt PR 19528] - css-flexbox: fixes for -webkit-box using LayoutFlexibleBox, a=testonly 2019-10-17 19:25:07 +00:00
compression Bug 1585225 [wpt PR 19427] - DecompressionStream: Accept BufferSource chunks, a=testonly 2019-10-17 19:25:08 +00:00
conformance-checkers Bug 1308587 Part 1 - Manually remove "-moz" prefixed multi-column properties in some tests. r=dholbert 2019-09-05 21:32:05 +00:00
console
contacts Bug 1585717 [wpt PR 19469] - [Contacts] Update implementation to match spec changes., a=testonly 2019-10-14 11:23:48 +00:00
content-security-policy Bug 1584622 [wpt PR 19379] - Mark report-blocked-frame.sub.html test as slow., a=testonly 2019-10-07 10:09:50 +00:00
cookie-store Bug 1585871 [wpt PR 19486] - Cookie Store: Add test for cookiechange subscription list., a=testonly 2019-10-14 11:23:41 +00:00
cookies Bug 1583289 [wpt PR 19228] - Handle special origins for site_for_cookies computation at top-level., a=testonly 2019-10-07 10:10:01 +00:00
core-aam
cors
credential-management Bug 1568271 [wpt PR 18006] - Include typedefs as idlharness dependencies, a=testonly 2019-08-05 14:49:49 +00:00
css Bug 1590357 - Update overflow areas for visible -> unscrollable clip changes. r=mattwoodrow 2019-10-22 19:02:36 +00:00
custom-elements Bug 1570552 [wpt PR 18223] - Add ARIA role, state and properties to ElementInternals, a=testonly 2019-08-09 20:31:46 +00:00
device-memory
docs Bug 1585418 [wpt PR 19449] - [testharness.js] Implement single_test option, a=testonly 2019-10-17 19:25:16 +00:00
dom Bug 1581173 part 2. Fix MutationObserver to throw the right exceptions. r=smaug 2019-09-23 13:53:42 +00:00
domparsing Bug 1577456 [wpt PR 18743] - Rename many idlharness.js tests to idlharness.*, a=testonly 2019-09-03 14:23:25 +00:00
domxpath Bug 1578208 [wpt PR 18790] - Test DOM's XPath interfaces, a=testonly 2019-09-09 11:54:51 +01:00
dpub-aam
dpub-aria
editing Bug 1582215 - Make HTMLEditor::DoInsertHTMLWithContext() compute new insertion point before removing unnecessary <li> elements r=m_kato 2019-10-17 09:17:14 +00:00
element-timing Bug 1577193 [wpt PR 18724] - [LargestContentfulPaint] Fix anonymous LayoutObject aggregation, a=testonly 2019-09-03 14:23:17 +00:00
encoding Bug 1585805 [wpt PR 19478] - [encoding] Defer API reference, a=testonly 2019-10-14 11:23:39 +00:00
encrypted-media Bug 1581278 part 5. Stop incorrectly rejecting promises in EME. r=bryce 2019-09-20 14:20:48 +00:00
entries-api
event-timing Bug 1575984 [wpt PR 18620] - [EventTiming] Replace onload tests, a=testonly 2019-08-29 09:59:12 +00:00
eventsource Bug 1579363 [wpt PR 18893] - Remove unnecessary idlharness.js include, a=testonly 2019-09-12 10:10:11 +00:00
feature-policy Bug 1581791 [wpt PR 19119] - Update xr feature policy name and behavior to match spec, a=testonly 2019-10-14 11:23:27 +00:00
fetch Bug 1586206 [wpt PR 19501] - Renaming fetch/metadata web platform tests, a=testonly 2019-10-17 19:25:13 +00:00
FileAPI
fonts Bug 1584555 [wpt PR 19370] - Use locally-installed Ahem if available via ahem.css stylesheet., a=testonly 2019-10-07 10:09:46 +00:00
forced-colors-mode Bug 1579510 [wpt PR 18907] - Move forced colors tests to wpt, a=testonly 2019-09-14 08:52:03 +00:00
fullscreen Bug 1580460 [wpt PR 18992] - [fullscreen] wrap event listener callback in t.step_func, a=testonly 2019-09-18 23:37:58 +00:00
gamepad Bug 1582649 [wpt PR 19178] - Update reviewers list, a=testonly 2019-10-17 19:25:15 +00:00
generic-sensor Bug 1583093 [wpt PR 19214] - Modify ProximitySensor tests, a=testonly 2019-10-07 10:09:45 +00:00
geolocation-API Bug 1580425 [wpt PR 18989] - [geolocation] Rename interfaces and remove [NoInterfaceObject], a=testonly 2019-09-14 08:52:13 +00:00
geolocation-sensor Bug 1579320 [wpt PR 18886] - [sensor] Upstream sensor layout tests to wpt, a=testonly 2019-09-20 21:49:54 +00:00
graphics-aam
gyroscope Bug 1579320 [wpt PR 18886] - [sensor] Upstream sensor layout tests to wpt, a=testonly 2019-09-20 21:49:54 +00:00
hr-time
html Merge inbound to mozilla-central. a=merge 2019-10-18 19:02:54 +03:00
html-longdesc
html-media-capture Bug 1553603 - Support "capture" attribute in Gecko and expose in GV. r=geckoview-reviewers,smaug,snorp,agi 2019-07-30 18:13:05 +00:00
idle-detection Bug 1574356 [wpt PR 18475] - [mojo] Add testing support to BrowserInterfaceBrokerProxy, a=testonly 2019-08-27 04:12:06 +00:00
imagebitmap-renderingcontext Bug 1580324 [wpt PR 18976] - TransferToImageBitmap should reset the bitmap to transparent black, a=testonly 2019-09-14 08:52:20 +00:00
images Bug 1571429 [wpt PR 18280] - Fix 2dcontext/building-paths ref-tests to use a canvas instead of pre-generated images., a=testonly 2019-09-09 11:54:26 +01:00
import-maps Bug 1578315 [wpt PR 18796] - Mark external/wpt/import-maps/bare.sub.tentative.html as slow, a=testonly 2019-09-09 11:54:29 +01:00
IndexedDB Bug 1583376 [wpt PR 19234] - Expose IDBTransacation durability enum, a=testonly 2019-09-30 14:01:54 +00:00
inert Bug 1574901 [wpt PR 18541] - Replace setTimeout with step_timeout in inert/ tests, a=testonly 2019-09-03 14:23:02 +00:00
infrastructure Bug 1586894 [wpt PR 19555] - Change key from "Ctrl" to "Shift" in actionsWithKeyPressed.html, a=testonly 2019-10-17 19:25:29 +00:00
input-device-capabilities
input-events
interfaces Bug 1587167 [wpt PR 19575] - Update interfaces/permissions.idl, a=testonly 2019-10-17 19:25:30 +00:00
intersection-observer Bug 1582635 [wpt PR 19173] - [IntersectionObserver] If necessary, schedule a frame after delay, a=testonly 2019-09-26 20:26:06 +00:00
js
keyboard-lock
keyboard-map
kv-storage Bug 1566598 [wpt PR 17863] - Expose kv-storage built-in module only on SecureContexts, a=testonly 2019-09-03 14:23:29 +00:00
largest-contentful-paint Bug 1581189 [wpt PR 19046] - [LargestContentfulPaint] Add SVG and overflowed image tests, a=testonly 2019-09-18 23:38:12 +00:00
layout-instability Bug 1581513 [wpt PR 19084] - Reduce 3px movement threshold to 1px., a=testonly 2019-10-07 10:09:43 +00:00
lifecycle Bug 1581642 [wpt PR 19101] - Remove redundant checks in freezing/pausing context., a=testonly 2019-09-18 23:38:35 +00:00
loading Bug 1569008 [wpt PR 18087] - LazyLoad: Add test for deferred images using attributes at parse time, a=testonly 2019-08-05 14:50:26 +00:00
longtask-timing Bug 1576234 [wpt PR 18643] - [Longtasks] Add microtask test, a=testonly 2019-09-03 14:23:15 +00:00
magnetometer Bug 1579320 [wpt PR 18886] - [sensor] Upstream sensor layout tests to wpt, a=testonly 2019-09-20 21:49:54 +00:00
mathml Bug 1586481 [wpt PR 19534] - Miscellaneous improvements to MathML DOM tests, a=testonly 2019-10-17 19:25:10 +00:00
measure-memory Bug 1583579 [wpt PR 19258] - Initial implementation of performance.measureMemory API, a=testonly 2019-10-17 19:25:16 +00:00
media
media-capabilities Bug 1581278 part 4. Stop incorrectly rejecting promises in MediaCapabilities. r=jya 2019-09-19 02:03:07 +00:00
media-playback-quality Bug 1569957 [wpt PR 18168] - Create media-playback-quality/ directory and idlharness.js test, a=testonly 2019-08-05 14:50:39 +00:00
media-source Bug 1577113 [wpt PR 18721] - Remove unused objects from media-source idlharness test., a=testonly 2019-09-03 14:23:10 +00:00
mediacapture-depth Bug 1576633 [wpt PR 18677] - Convert some tests to use idl_test, a=testonly 2019-08-29 09:59:09 +00:00
mediacapture-fromelement
mediacapture-image Bug 1534826 [wpt PR 15741] - [ImageCapture] Add pan/tilt constraint and wire in Linux/CrOS., a=testonly 2019-08-05 14:50:03 +00:00
mediacapture-record Bug 1582407 - Fix MediaRecorder-pause-resume.html to avoid start() ambiguities. r=jib 2019-10-03 22:11:07 +00:00
mediacapture-streams Bug 1548087 - enumerateDevices should only expose devices which are allowed to use by FeturePolicy r=baku,jib 2019-09-05 20:09:28 +00:00
mediasession Bug 1580602 - P2: Implement MediaMetadata API. r=bzbarsky 2019-10-10 19:18:30 +00:00
mimesniff
mixed-content Bug 1579503 [wpt PR 18905] - [WPT/common/security-features] Remove {mixed-content,referrer-policy}-test-case.sub.js, a=testonly 2019-09-14 08:51:48 +00:00
mst-content-hint
native-file-system Bug 1586873 [wpt PR 19553] - [Native File System] getFile() returns a File sized correctly, a=testonly 2019-10-17 19:25:27 +00:00
navigation-timing Bug 1566444 [wpt PR 17850] - Add buffered flag tests for LongTasks and NavigationTiming, a=testonly 2019-07-31 02:53:37 +00:00
netinfo
network-error-logging
notifications
offscreen-canvas Bug 1582071 [wpt PR 19135] - Add missing parameter to offscreencanvas.transfer.to.imagebitmap.w, a=testonly 2019-09-20 21:49:59 +00:00
old-tests
orientation-event Bug 1580027 [wpt PR 18946] - Update Device Orientation Event spec link, a=testonly 2019-09-14 08:51:55 +00:00
orientation-sensor Bug 1579320 [wpt PR 18886] - [sensor] Upstream sensor layout tests to wpt, a=testonly 2019-09-20 21:49:54 +00:00
origin-policy
page-visibility
paint-timing Bug 1566139 [wpt PR 17837] - Add buffered flag tests for ResourceTiming and PaintTiming, a=testonly 2019-07-24 13:35:30 +01:00
payment-handler Bug 1584365 [wpt PR 19343] - Reland "[Payments] Enable shipping and contact info delegation [4/5]", a=testonly 2019-10-07 10:10:03 +00:00
payment-method-basic-card
payment-method-id
payment-request Bug 1584091 [wpt PR 19315] - Fix broken links to META.yml, a=testonly 2019-09-30 14:02:03 +00:00
performance-timeline Bug 1568544 [wpt PR 18043] - [performance-timeline] make sure performance entries are not clonable, a=testonly 2019-08-27 04:11:43 +00:00
permissions Bug 1560570- FeaturePolicy should be considered when permissions.query() is called r=baku,johannh 2019-09-21 08:38:26 +00:00
picture-in-picture
pointerevents Bug 1586341 [wpt PR 19522] - Use testdriver Action API to automate wpt tests with two touch fingers, a=testonly 2019-10-17 19:25:31 +00:00
pointerlock Bug 1577456 [wpt PR 18743] - Rename many idlharness.js tests to idlharness.*, a=testonly 2019-09-03 14:23:25 +00:00
portals Bug 1581639 [wpt PR 19100] - Portals: Clear activating portal contents after activation, a=testonly 2019-09-24 19:32:53 +00:00
preload Bug 1579194 [wpt PR 18877] - Lint rule for using Ahem as a web font., a=testonly 2019-09-14 08:51:32 +00:00
presentation-api
printing
priority-hints
proximity Bug 1583093 [wpt PR 19214] - Modify ProximitySensor tests, a=testonly 2019-10-07 10:09:45 +00:00
push-api
quirks Bug 1579194 [wpt PR 18877] - Lint rule for using Ahem as a web font., a=testonly 2019-09-14 08:51:32 +00:00
referrer-policy Bug 1578899 [wpt PR 18854] - [WPT/referrer-policy] Add worker subresource tests, a=testonly 2019-10-17 19:25:11 +00:00
remote-playback
reporting Bug 1582340 [wpt PR 19148] - Run Reporting API idlharness.js tests in workers, a=testonly 2019-09-30 14:02:05 +00:00
requestidlecallback Bug 1576633 [wpt PR 18677] - Convert some tests to use idl_test, a=testonly 2019-08-29 09:59:09 +00:00
resize-observer
resource-timing Bug 1580804 [wpt PR 19015] - Adding resource timing test that checks for #hash in the URL, a=testonly 2019-10-07 10:09:52 +00:00
resources Bug 1586758 [wpt PR 19549] - Convert WebUsbService client to use BrowserInterfaceBroker, a=testonly 2019-10-17 19:25:22 +00:00
screen-capture
screen-orientation
screen_enumeration Bug 1575391 [wpt PR 18571] - Screen Enumeration: Basic implementation., a=testonly 2019-09-09 11:54:23 +01:00
scroll-animations
scroll-to-text-fragment Bug 1581199 [wpt PR 19049] - Implement word boundary matching, a=testonly 2019-09-20 21:50:07 +00:00
secure-contexts
selection Bug 1571517 - Don't bail out when serializing a range starting at the end of an element. r=mbrodesser 2019-08-20 11:20:16 +00:00
serial
server-timing Bug 1576633 [wpt PR 18677] - Convert some tests to use idl_test, a=testonly 2019-08-29 09:59:09 +00:00
service-workers Bug 1583474 [wpt PR 19246] - Service worker: Add self.serviceWorker to ServiceWorkerGlobalScope, a=testonly 2019-10-14 11:23:47 +00:00
shadow-dom Bug 1586425 [wpt PR 19530] - Fix shadow-dom/focus/focus-selector-delegatesFocus.html for slotted elements, a=testonly 2019-10-17 19:25:08 +00:00
shape-detection Bug 1569553 [wpt PR 18140] - Rename traits and mojo directory in //skia/public, a=testonly 2019-08-05 14:50:29 +00:00
signed-exchange Bug 1583718 [wpt PR 19282] - Update SXG version in wpt/signed-exchange/README.md, a=testonly 2019-09-26 20:26:30 +00:00
sms Bug 1576215 [wpt PR 18641] - [sms] Allow SMS Receiver for same origin iframes, a=testonly 2019-09-12 10:10:04 +00:00
speech-api Bug 1566709 [wpt PR 17870] - Add historical test for SpeechRecognitionEvent's interpretation and emma attributes, a=testonly 2019-07-24 13:35:04 +01:00
std-toast Bug 1568011 [wpt PR 17981] - Enable persistent toasts by adding functionality for duration Infinity, a=testonly 2019-08-05 14:49:46 +00:00
storage Bug 1581278 part 3. Stop incorrectly rejecting promises in storage manager. r=janv 2019-09-19 18:18:28 +00:00
storage-access-api Bug 1583697 [wpt PR 19281] - Ensure documents with no TopFrameOrigin correctly handle hasStorageAccess calls., a=testonly 2019-09-26 20:26:27 +00:00
streams Bug 1576880 [wpt PR 18693] - Add tests for WritableStream.close(), a=testonly 2019-09-03 14:23:04 +00:00
subresource-integrity Bug 1479464 [wpt PR 12231] - Test for member name clashes in idlharness, a=testonly 2019-09-30 14:02:03 +00:00
svg Bug 1586263 [wpt PR 19511] - Add some tests for triggering SMIL events via syncbases, a=testonly 2019-10-17 19:25:28 +00:00
svg-aam
timing-entrytypes-registry
tools Bug 1587463 - Bump mozrunner version for web-platform tests. r=jgraham 2019-10-18 17:53:53 +00:00
touch-events Bug 1566198 [wpt PR 17645] - [tools] Remove support for support filename flag, a=testonly 2019-07-24 13:34:33 +01:00
trusted-types Bug 1584941 [wpt PR 19394] - [Trusted Types] Change violation resource to trusted-types-sink., a=testonly 2019-10-07 10:09:58 +00:00
uievents Bug 1579865 [wpt PR 18935] - Use promise in wpt tests to end the tests to avoid memory leak - Part 3, a=testonly 2019-09-30 14:01:54 +00:00
upgrade-insecure-requests Bug 1584429 [wpt PR 19352] - [WPT/upgrade-insecure-requests] Regenerate files, a=testonly 2019-10-17 19:25:12 +00:00
url Bug 1571090 [wpt PR 18262] - Fixed a comment copy/paste typo., a=testonly 2019-08-09 20:31:22 +00:00
user-timing Bug 1573998 [wpt PR 18438] - [UserTimingL3] Add 'duration' member of PerformanceMeasureOptions., a=testonly 2019-08-23 16:39:48 +00:00
vibration
visual-viewport
wai-aria
wake-lock Bug 1566473 [wpt PR 17853] - wake lock: Make wakelock-abortsignal.https.any.js use only system locks, a=testonly 2019-07-24 13:34:52 +01:00
wasm
web-animations Bug 1586876 [wpt PR 19554] - [web-animations-1] Fix typo in test, a=testonly 2019-10-17 19:25:17 +00:00
web-locks
web-nfc Bug 1582397 [wpt PR 19156] - Add NFCScanOptions signal tests, a=testonly 2019-09-24 19:32:49 +00:00
web-share Bug 1312422 - Web Share Base/DOM implementation r=farre 2019-10-09 10:57:11 +00:00
webaudio Bug 1585671 - Add a WPT to test the minimum duration of cycles with a DelayNode in a feedback loop. r=karlt 2019-10-03 10:04:04 +00:00
webauthn
WebCryptoAPI
webdriver Bug 1584612 [wpt PR 19377] - Reland "[ChromeDriver] Stop using --ignore-certificate-errors", a=testonly 2019-10-17 19:25:32 +00:00
webgl Bug 1479464 [wpt PR 12231] - Test for member name clashes in idlharness, a=testonly 2019-09-30 14:02:03 +00:00
webgpu Bug 1576027 [wpt PR 18624] - Remove GPUTexture.createDefaultView, a=testonly 2019-08-29 09:59:12 +00:00
WebIDL Bug 1566198 [wpt PR 17645] - [tools] Remove support for support filename flag, a=testonly 2019-07-24 13:34:33 +01:00
webmessaging
webmidi
webrtc Bug 1585444 [wpt PR 19454] - Fix iceConnectionState test to accept "completed" state, a=testonly 2019-10-14 11:23:35 +00:00
webrtc-identity Bug 1584971 [wpt PR 19399] - Add webrtc-identity IDL and test, a=testonly 2019-10-07 10:09:59 +00:00
webrtc-quic
webrtc-stats
webrtc-svc Bug 1567754 [wpt PR 17963] - Add API for controlling SVC encoding., a=testonly 2019-08-05 14:50:21 +00:00
websockets Bug 1586981 [wpt PR 19563] - Turn on backpressure for blink::WebSocketStream sooner, a=testonly 2019-10-17 19:25:22 +00:00
webstorage
webusb Bug 1585506 [wpt PR 19458] - [usb] Allow device-scope control transfers when unconfigured, a=testonly 2019-10-14 11:23:31 +00:00
webvr
webvtt Bug 1579194 [wpt PR 18877] - Lint rule for using Ahem as a web font., a=testonly 2019-09-14 08:51:32 +00:00
webxr Bug 1585432 [wpt PR 19453] - Reland "Update emulated position on each XRFrame", a=testonly 2019-10-14 11:23:27 +00:00
workers Bug 1580536 - Make dynamic import a runtime error in contexts where we don't support it r=jorendorff 2019-10-14 16:33:29 +00:00
worklets Bug 1585564 [wpt PR 19462] - Worklet: Reject addModule() with script's error to rethrow if available, a=testonly 2019-10-17 19:25:21 +00:00
x-frame-options
xhr Bug 1583102 [wpt PR 19215] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=202098, a=testonly 2019-09-26 20:26:08 +00:00
xslt Bug 1567348 [wpt PR 17917] - Make XSLT IDL source and idlharness.js test tentative, a=testonly 2019-07-31 02:53:45 +00:00
.azure-pipelines.yml Bug 1580756 [wpt PR 19003] - Exclude problematic web-share test from full Safari runs, a=testonly 2019-09-14 08:52:21 +00:00
.codecov.yml
.gitattributes
.gitignore
.mailmap
.pyup.yml
.taskcluster.yml Bug 1586265 [wpt PR 19512] - [Taskcluster] add a trigger branch for WebKitGTK, a=testonly 2019-10-17 19:25:05 +00:00
check_stability.ini
CODEOWNERS
CONTRIBUTING.md
LICENSE
LICENSE.md
lint.whitelist Bug 1583156 [wpt PR 19218] - Allow the Ahem stylesheet to be loaded from support/ahem.css, a=testonly 2019-09-26 20:26:01 +00:00
README.md Bug 1586773 [wpt PR 19551] - docs: update the readme link for running https tests, a=testonly 2019-10-17 19:25:19 +00:00
testharness_runner.html
update-built-tests.sh
wpt
wpt.py

The web-platform-tests Project

The web-platform-tests Project is a W3C-coordinated attempt to build 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
  • web-platform-tests.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 IRC chat room named #testing on irc.w3.org; includes participants located around the world, but busiest during the European working day; all discussion is archived here
  • Mailing list: a public and low-traffic discussion list

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

The tests are designed to be run from your local computer. The test environment requires Python 2.7+ (but not Python 3.x).

On Windows, be sure to add the Python directory (c:\python2x, by default) to your %Path% Environment Variable, and read the Windows Notes section below.

To get the tests running, you need to set up the test domains in your hosts file.

The necessary content can be generated with ./wpt make-hosts-file; on Windows, you will need to precede the prior command with python or the path to the Python binary (python wpt make-hosts-file).

For example, on most UNIX-like systems, you can setup the hosts file with:

./wpt make-hosts-file | sudo tee -a /etc/hosts

And on Windows (this must be run in a PowerShell session with Administrator privileges):

python wpt make-hosts-file | Out-File $env:systemroot\System32\drivers\etc\hosts -Encoding ascii -Append

If you are behind a proxy, you also need to make sure the domains above are excluded from your proxy lookups.

Running Tests Manually

The test server can be started using

./wpt serve

On Windows: You will need to precede the prior command with python or the path to the python binary.

python wpt serve

This will start HTTP servers on two ports and a websockets server on one port. By default the web servers start on ports 8000 and 8443 and the other ports are randomly-chosen free ports. Tests must be loaded from the first HTTP server in the output. To change the ports, create a config.json file in the wpt root directory, and add port definitions of your choice e.g.:

{
  "ports": {
    "http": [1234, "auto"],
    "https":[5678]
  }
}

After your hosts file is configured, the servers will be locally accessible at:

http://web-platform.test:8000/
https://web-platform.test:8443/ *

To use the web-based runner point your browser to:

http://web-platform.test:8000/tools/runner/index.html
https://web-platform.test:8443/tools/runner/index.html *

*See Trusting Root CA

Running Tests Automatically

Tests can be run automatically in a browser using the run command of the wpt script in the root of the checkout. This requires the hosts file setup documented above, but you must not have the test server already running when calling wpt run. The basic command line syntax is:

./wpt run product [tests]

On Windows: You will need to precede the prior command with python or the path to the python binary.

python wpt run product [tests]

where product is currently firefox or chrome and [tests] is a list of paths to tests. This will attempt to automatically locate a browser instance and install required dependencies. The command is very configurable; for example to specify a particular binary use wpt run --binary=path product. The full range of options can be see with wpt run --help and wpt run --wptrunner-help.

Not all dependencies can be automatically installed; in particular the certutil tool required to run https tests with Firefox must be installed using a system package manager or similar.

On Debian/Ubuntu certutil may be installed using:

sudo apt install libnss3-tools

And on macOS with homebrew using:

brew install nss

On other platforms, download the firefox archive and common.tests.tar.gz archive for your platform from Mozilla CI.

Then extract certutil[.exe] from the tests.tar.gz package and libnss3[.so|.dll|.dynlib] and put the former on your path and the latter on your library path.

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.

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 http://w3c-test.org/.

Pull requests are automatically mirrored except those that modify sensitive resources (such as .py). The latter require someone with merge access to comment with "LGTM" or "w3c-test:mirror" to indicate the pull request has been checked.

Branches

In the vast majority of cases the only upstream branch that you should need to care about is master. If you see other branches in the repository, you can generally safely ignore them.

Contributing

Save the Web, Write Some Tests!

Absolutely everyone is welcome (and even encouraged) to contribute to test development, so long as you fulfill the contribution requirements detailed in the [Contributing Guidelines][contributing]. 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 the lint script described below.
  • Commit locally and push that to your repo.
  • Send in 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!

Lint tool

We have a lint tool for catching common mistakes in test files. You can run it manually by starting the lint executable from the root of your local web-platform-tests working directory like this:

./wpt lint

The lint tool is also run automatically for every submitted pull request, and reviewers will not merge branches with tests that have lint errors, so you must fix any errors the lint tool reports.

In the unusual case of error reports for things essential to a certain test or that for other exceptional reasons shouldn't prevent a merge of a test, update and commit the lint.whitelist file in the web-platform-tests root directory to suppress the error reports.

For more details, see the lint-tool documentation.