gecko-dev/testing/web-platform/tests
Carsten "Tomcat" Book 332688962a Merge mozilla-central to mozilla-inbound
--HG--
rename : testing/web-platform/tests/storage/interfaces.html => testing/web-platform/tests/storage/interfaces.https.html
2017-03-23 13:57:16 +01:00
..
2dcontext Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
accelerometer Bug 1331899 - Update web-platform-tests to revision 7071a3d128ff6610a57944d1b0aaabee97b3af5a, a=testonly 2017-01-19 14:23:39 +00:00
ambient-light Bug 1331899 - Update web-platform-tests to revision 7071a3d128ff6610a57944d1b0aaabee97b3af5a, a=testonly 2017-01-19 14:23:39 +00:00
annotation-model Bug 1331899 - Update web-platform-tests to revision 7071a3d128ff6610a57944d1b0aaabee97b3af5a, a=testonly 2017-01-19 14:23:39 +00:00
annotation-protocol Bug 1318666 - Update web-platform-tests to revision da8dc80ce9c2155e003f20816c0cb6f120c17db6, a=testonly 2016-11-18 15:04:59 +00:00
annotation-vocab Bug 1331899 - Update web-platform-tests to revision 7071a3d128ff6610a57944d1b0aaabee97b3af5a, a=testonly 2017-01-19 14:23:39 +00:00
app-uri
assumptions Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
auxclick Bug 1331899 - Update web-platform-tests to revision 7071a3d128ff6610a57944d1b0aaabee97b3af5a, a=testonly 2017-01-19 14:23:39 +00:00
battery-status
beacon Bug 1345490 - Fix duplicate test names in beacon tests, a=testonly 2017-03-17 15:20:18 +00:00
bluetooth Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
clear-site-data Bug 1331899 - Update web-platform-tests to revision 7071a3d128ff6610a57944d1b0aaabee97b3af5a, a=testonly 2017-01-19 14:23:39 +00:00
clipboard Bug 1335397 - Update web-platform-tests to d93247d5cb7d70f80da8b154a171f4e3d50969f4, a=testonly 2017-02-04 09:38:58 +00:00
common Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
compat
conformance-checkers Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
console Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
content-security-policy Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
cookies Bug 1331899 - Update web-platform-tests to revision 7071a3d128ff6610a57944d1b0aaabee97b3af5a, a=testonly 2017-01-19 14:23:39 +00:00
cors Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
css-timing-1 Bug 1248340 - Part 8: Add tests for transformed-progress and input progress outside [0, 1]. r=birtles 2017-03-02 17:21:35 +08:00
css-typed-om Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
css-values Bug 1331899 - Update web-platform-tests to revision 7071a3d128ff6610a57944d1b0aaabee97b3af5a, a=testonly 2017-01-19 14:23:39 +00:00
cssom Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
cssom-view Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
custom-elements Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
docs Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
dom Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
DOM-parsing/todo Bug 1309931 - Update web-platform-tests to revision 1d8e28e2c762b51c06670a373b23af6bd7a8aed7, a=testonly 2016-10-25 18:10:30 +01:00
domparsing Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
domxpath Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
dpub-aam Bug 1331899 - Update web-platform-tests to revision 7071a3d128ff6610a57944d1b0aaabee97b3af5a, a=testonly 2017-01-19 14:23:39 +00:00
dpub-aria Bug 1335397 - Update web-platform-tests to d93247d5cb7d70f80da8b154a171f4e3d50969f4, a=testonly 2017-02-04 09:38:58 +00:00
editing Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
encoding Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
encrypted-media Bug 1331899 - Update web-platform-tests to revision 7071a3d128ff6610a57944d1b0aaabee97b3af5a, a=testonly 2017-01-19 14:23:39 +00:00
eventsource Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
ext-xhtml-pubid/the-xhtml-syntax/parsing-xhtml-documents
fetch Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
FileAPI Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
fonts Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
fullscreen Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
gamepad
generic-sensor
geolocation-API Bug 1072859 - Disable Geolocation on non-secure origins. r=jdm 2017-03-08 16:45:44 -08:00
gyroscope Bug 1331899 - Update web-platform-tests to revision 7071a3d128ff6610a57944d1b0aaabee97b3af5a, a=testonly 2017-01-19 14:23:39 +00:00
hr-time Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
html Bug 1318720 - Add test for calling rIC on removed iframe. r=smaug 2017-03-21 13:26:29 +01:00
html-imports
html-longdesc
html-media-capture Bug 1331899 - Update web-platform-tests to revision 7071a3d128ff6610a57944d1b0aaabee97b3af5a, a=testonly 2017-01-19 14:23:39 +00:00
http Bug 1309931 - Update web-platform-tests to revision 1d8e28e2c762b51c06670a373b23af6bd7a8aed7, a=testonly 2016-10-25 18:10:30 +01:00
imagebitmap-renderingcontext Bug 1331899 - Update web-platform-tests to revision 7071a3d128ff6610a57944d1b0aaabee97b3af5a, a=testonly 2017-01-19 14:23:39 +00:00
images Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
IndexedDB Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
infrastructure Bug 1345490 - Fix inappropriate step_timeout in infrastructure test, a=testonly 2017-03-17 14:35:39 +00:00
innerText Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
input-events Bug 1331899 - Update web-platform-tests to revision 7071a3d128ff6610a57944d1b0aaabee97b3af5a, a=testonly 2017-01-19 14:23:39 +00:00
js
magnetometer Bug 1331899 - Update web-platform-tests to revision 7071a3d128ff6610a57944d1b0aaabee97b3af5a, a=testonly 2017-01-19 14:23:39 +00:00
mathml Bug 1331899 - Update web-platform-tests to revision 7071a3d128ff6610a57944d1b0aaabee97b3af5a, a=testonly 2017-01-19 14:23:39 +00:00
media Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
media-capabilities Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
media-source Bug 1331899 - Update web-platform-tests to revision 7071a3d128ff6610a57944d1b0aaabee97b3af5a, a=testonly 2017-01-19 14:23:39 +00:00
mediacapture-record Bug 1309931 - Update web-platform-tests to revision 1d8e28e2c762b51c06670a373b23af6bd7a8aed7, a=testonly 2016-10-25 18:10:30 +01:00
mediacapture-streams Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
mediasession Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
microdata
mixed-content
navigation-timing Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
notifications Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
offscreen-canvas Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
old-tests Bug 1340133 - Mark manual Infraware form tests as manual, r=jmaher 2017-02-20 11:54:28 +00:00
orientation-event Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
page-visibility Bug 1331899 - Update web-platform-tests to revision 7071a3d128ff6610a57944d1b0aaabee97b3af5a, a=testonly 2017-01-19 14:23:39 +00:00
payment-request Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
performance-timeline Bug 1309931 - Update web-platform-tests to revision 1d8e28e2c762b51c06670a373b23af6bd7a8aed7, a=testonly 2016-10-25 18:10:30 +01:00
pointerevents Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
pointerlock Bug 1318666 - Update web-platform-tests to revision da8dc80ce9c2155e003f20816c0cb6f120c17db6, a=testonly 2016-11-18 15:04:59 +00:00
preload Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
presentation-api Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
progress-events Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
proximity Bug 1315135 followup. Fix web platform tests that either depended on the old spec's behavior or were asserting that we fail the new one. 2016-11-24 00:24:45 -05:00
quirks-mode
referrer-policy Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
remote-playback Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
resource-timing Backed out 2 changesets (bug 919391) for failing test_resource_timing.html tests a=backout 2017-02-15 12:07:18 -08:00
resources Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
screen-orientation Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
secure-contexts
selection Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
selectors
selectors-api/tests/submissions/Opera
service-workers Bug 1342255 - Fix crash in respondWith resolved callback. Don't reset interception if the sw throws after .respondWith(). r=asuth 2017-03-20 15:01:04 +00:00
shadow-dom Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
storage Bug 1348877 - Load test case interfaces.html on https, r=annevk 2017-03-23 15:56:26 +08:00
streams Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
subresource-integrity
svg Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
svg-aam Bug 1335397 - Update web-platform-tests to d93247d5cb7d70f80da8b154a171f4e3d50969f4, a=testonly 2017-02-04 09:38:58 +00:00
tools Bug 1347949 - Add six to wptserve dependencies, r=whimboo 2017-03-17 14:42:32 +00:00
touch-events Bug 1309931 - Update web-platform-tests to revision 1d8e28e2c762b51c06670a373b23af6bd7a8aed7, a=testonly 2016-10-25 18:10:30 +01:00
typedarrays Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
uievents Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
upgrade-insecure-requests Bug 1331899 - Update web-platform-tests to revision 7071a3d128ff6610a57944d1b0aaabee97b3af5a, a=testonly 2017-01-19 14:23:39 +00:00
url Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
user-timing Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
vibration
wai-aria
web-animations Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
webaudio Bug 1329744 - AudioBuffer ctor updated, r=padenot 2017-01-10 21:30:28 +00:00
webauthn Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
WebCryptoAPI Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
webdriver Bug 1322383 - Ensure that finalizers for webdriver tests always work on a valid window. r=jgraham 2017-03-21 12:02:47 +01:00
webgl Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
WebIDL Bug 1318666 - Update web-platform-tests to revision da8dc80ce9c2155e003f20816c0cb6f120c17db6, a=testonly 2016-11-18 15:04:59 +00:00
webmessaging Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
webrtc Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
websockets Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
webstorage Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
webvr Bug 1335397 - Update web-platform-tests to d93247d5cb7d70f80da8b154a171f4e3d50969f4, a=testonly 2017-02-04 09:38:58 +00:00
webvtt Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
workers Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
XMLHttpRequest Bug 1319306 - Change onreadystatechange assertion to a minimum of 2 rather than 10, r=annevk 2017-03-22 20:14:52 +08:00
.gitignore Bug 1342062 - Ignore .rej files in web-platform-tests, r=Ms2ger 2017-02-23 14:53:38 +00:00
.gitmodules
.travis.yml Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
check_stability.py Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
ci_built_diff.sh Bug 1335397 - Update web-platform-tests to d93247d5cb7d70f80da8b154a171f4e3d50969f4, a=testonly 2017-02-04 09:38:58 +00:00
ci_lint.sh Bug 1318666 - Update web-platform-tests to revision da8dc80ce9c2155e003f20816c0cb6f120c17db6, a=testonly 2016-11-18 15:04:59 +00:00
ci_stability.sh Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
config.default.json Bug 1318666 - Update web-platform-tests to revision da8dc80ce9c2155e003f20816c0cb6f120c17db6, a=testonly 2016-11-18 15:04:59 +00:00
CONTRIBUTING.md
diff-manifest.py Bug 1309931 - Update web-platform-tests to revision 1d8e28e2c762b51c06670a373b23af6bd7a8aed7, a=testonly 2016-10-25 18:10:30 +01:00
LICENSE
LICENSE.md Bug 1331899 - Update web-platform-tests to revision 7071a3d128ff6610a57944d1b0aaabee97b3af5a, a=testonly 2017-01-19 14:23:39 +00:00
lint
lint.whitelist Bug 1345490 - Fix inappropriate step_timeout in infrastructure test, a=testonly 2017-03-17 14:35:39 +00:00
manifest
README.md Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
serve
serve.py Bug 1318666 - Update web-platform-tests to revision da8dc80ce9c2155e003f20816c0cb6f120c17db6, a=testonly 2016-11-18 15:04:59 +00:00
server-side.md
testharness_runner.html
update-built-tests.sh Bug 1335397 - Update web-platform-tests to d93247d5cb7d70f80da8b154a171f4e3d50969f4, a=testonly 2017-02-04 09:38:58 +00:00

The web-platform-tests Project IRC chat

The web-platform-tests Project is a W3C-coordinated attempt to build a cross-browser testsuite for the Web-platform stack. However, for mainly historic reasons, the CSS WG testsuite is in a separate repository, csswg-test. 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.

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). You will also need a copy of OpenSSL.

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 following entries are required:

127.0.0.1   web-platform.test
127.0.0.1   www.web-platform.test
127.0.0.1   www1.web-platform.test
127.0.0.1   www2.web-platform.test
127.0.0.1   xn--n8j6ds53lwwkrqhv28a.web-platform.test
127.0.0.1   xn--lve-6lad.web-platform.test
0.0.0.0     nonexistent-origin.web-platform.test

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

Because web-platform-tests uses git submodules, you must ensure that these are up to date. In the root of your checkout, run:

git submodule update --init --recursive

The test environment can then be started using

./serve

This will start HTTP servers on two ports and a websockets server on one port. By default one web server starts on port 8000 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, copy the config.default.json file to config.json and edit the new file, replacing the part that reads:

"http": [8000, "auto"]

to some port of your choice e.g.

"http": [1234, "auto"]

If you installed OpenSSL in such a way that running openssl at a command line doesn't work, you also need to adjust the path to the OpenSSL binary. This can be done by adding a section to config.json like:

"ssl": {"openssl": {"binary": "/path/to/openssl"}}

Windows Notes

Running wptserve with SSL enabled on Windows typically requires installing an OpenSSL distribution. Shining Light provide a convenient installer that is known to work, but requires a little extra setup, i.e.:

Run the installer for Win32_OpenSSL_v1.1.0b (30MB). During installation, change the default location for where to Copy OpenSSL Dlls from the System directory to the /bin directory.

After installation, ensure that the path to OpenSSL (typically, this will be C:\OpenSSL-Win32\bin) is in your %Path% Environment Variable. If you forget to do this part, you will most likely see a 'File Not Found' error when you start wptserve.

Finally, set the path value in the server configuration file to the default OpenSSL configuration file location. To do this, copy config.default.json in the web-platform-tests root to config.json. Then edit the JSON so that the key ssl/openssl/base_conf_path has a value that is the path to the OpenSSL config file (typically this will be C:\\OpenSSL-Win32\\bin\\openssl.cfg).

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 wptserve.

Test Runner

There is a test runner that is designed to provide a convenient way to run the web-platform-tests in-browser. It will run testharness.js tests automatically but requires manual work for reftests and manual tests.

The runner can be found at /tools/runner/index.html on the local server i.e.

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

in the default configuration. The first time you use this it has to generate a manifest of all tests. This may take some time, so please be patient.

Publication

The master branch is automatically synced to http://w3c-test.org/.

Pull requests are automatically mirrored to http://w3c-test.org/submissions/ a few minutes after someone with merge access has added a comment with "LGTM" (or "w3c-test:mirror") to indicate the PR has been checked.

Finding Things

Each top-level directory represents a W3C specification: the name matches the shortname used after the canonical address of the said specification under http://www.w3.org/TR/ .

For some of the specifications, the tree under the top-level directory represents the sections of the respective documents, using the section IDs for directory names, with a maximum of three levels deep.

So if you're looking for tests in HTML for "The History interface", they will be under html/browsers/history/the-history-interface/.

Various resources that tests depend on are in common, images, and fonts.

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. 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.

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:

./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. For details on doing that, see the lint-tool documentation.

But 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 details on doing that, see the lint-tool documentation.

Adding command-line scripts ("tools" subdirs)

Sometimes you may want to add a script to the repository that's meant to be used from the command line, not from a browser (e.g., a script for generating test files). If you want to ensure (e.g., for security reasons) that such scripts won't be handled by the HTTP server, but will instead only be usable from the command line, then place them in either:

  • the tools subdir at the root of the repository, or

  • the tools subdir at the root of any top-level directory in the repository which contains the tests the script is meant to be used with

Any files in those tools directories won't be handled by the HTTP server; instead the server will return a 404 if a user navigates to the URL for a file within them.

If you want to add a script for use with a particular set of tests but there isn't yet any tools subdir at the root of a top-level directory in the repository containing those tests, you can create a tools subdir at the root of that top-level directory and place your scripts there.

For example, if you wanted to add a script for use with tests in the notifications directory, create the notifications/tools subdir and put your script there.

Test Review

We can sometimes take a little while to go through pull requests because we have to go through all the tests and ensure that they match the specification correctly. But we look at all of them, and take everything that we can.

OWNERS files are used only to indicate who should be notified of pull requests. If you are interested in receiving notifications of proposed changes to tests in a given directory, feel free to add yourself to the OWNERS file. Anyone with expertise in the specification under test can approve a pull request. In particular, if a test change has already been adequately reviewed "upstream" in another repository, it can be pushed here without any further review by supplying a link to the upstream review.

Getting Involved

If you wish to contribute actively, you're very welcome to join the public-test-infra@w3.org mailing list (low traffic) by signing up to our mailing list. The mailing list is archived.

Join us on irc #testing (irc.w3.org, port 6665). The channel is archived.

Documentation