gecko-dev/testing/web-platform/tests
James Graham 2b43c4a757 Bug 1560960 - Fix waiting for wpt servers to start, r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D35658

--HG--
extra : moz-landing-system : lando
2019-06-24 20:13:13 +00:00
..
.github Bug 1551911 [wpt PR 16822] - [docs] Re-implement website build process, a=testonly 2019-06-19 11:05:20 -07:00
.well-known Bug 1534692 - Part 1: Stop using |global|, and fix a typo ('param' should have been 'args') in mock-idp.js r=jib 2019-03-29 18:37:29 +00:00
2dcontext Bug 1557137 [wpt PR 17192] - Canvas::TestMetrics: Measure the TextMetrics info after loading the font, a=testonly 2019-06-19 11:06:50 -07:00
accelerometer Bug 1532639 [wpt PR 15630] - Add <meta name=timeout content=long> to WPT in SlowTests, a=testonly 2019-04-24 11:19:30 +01:00
accname
acid Bug 1533859 [wpt PR 15677] - Fix Acid2 to take the screenshot after it loads, a=testonly 2019-04-01 14:43:01 +01:00
ambient-light Bug 1536187 [wpt PR 14798] - Remove inactive reviewers, a=testonly 2019-04-01 14:43:38 +01:00
animation-worklet Bug 1552259 [wpt PR 16829] - Initial implementation of WorkletAnimationEffect, a=testonly 2019-06-19 11:05:42 -07:00
annotation-model Bug 1541545 [wpt PR 15952] - Consolidate .gitignore files under the root., a=testonly 2019-04-24 11:30:48 +01:00
annotation-protocol Bug 1541545 [wpt PR 15952] - Consolidate .gitignore files under the root., a=testonly 2019-04-24 11:30:48 +01:00
annotation-vocab Bug 1541545 [wpt PR 15952] - Consolidate .gitignore files under the root., a=testonly 2019-04-24 11:30:48 +01:00
apng
appmanifest
audio-output Bug 1532522 [wpt PR 15621] - Mark MediaDevices-related interfaces as SecureContext, a=testonly 2019-04-01 14:42:34 +01:00
background-fetch Bug 1538609 [wpt PR 16020] - [Background Fetch] Add web platform tests for match., a=testonly 2019-04-24 11:19:29 +01:00
BackgroundSync
battery-status Bug 1536187 [wpt PR 14798] - Remove inactive reviewers, a=testonly 2019-04-01 14:43:38 +01:00
beacon Bug 1532639 [wpt PR 15630] - Add <meta name=timeout content=long> to WPT in SlowTests, a=testonly 2019-04-24 11:19:30 +01:00
bluetooth Bug 1553840 [wpt PR 16763] - Check for detached ArrayBuffers in Web Bluetooth writeValue functions, a=testonly 2019-06-19 11:06:07 -07:00
clear-site-data
client-hints Bug 1554764 [wpt PR 16720] - Add feature policy for client hints, used for third-party subresources., a=testonly 2019-06-19 11:06:52 -07:00
clipboard-apis Bug 1550196 [wpt PR 16392] - Async Clipboard: Rename tests and group tests in directories., a=testonly 2019-06-05 10:26:41 +01:00
common Bug 1547680 [wpt PR 16547] - [WPT/common/security-features] Support worker-related scopes, a=testonly 2019-06-05 10:27:48 +01:00
compat Bug 1556841 [wpt PR 17173] - Load Ahem as a webfont everywhere (part 2), a=testonly 2019-06-19 11:06:58 -07:00
conformance-checkers Bug 1556295 [wpt PR 17130] - cc Update messages.json, a=testonly 2019-06-19 11:06:30 -07:00
console
content-security-policy Bug 1542965 [wpt PR 16154] - Inherit the CSP of the entered document when using document.write/open, a=testonly 2019-06-05 10:29:55 +01:00
cookie-store Bug 1513138 [wpt PR 14444] - Cookie Store: Test cross-origin frames + service workers., a=testonly 2019-02-07 21:49:37 +00:00
cookies Bug 1553630 [wpt PR 16831] - Add tentative WPT for CookiesWithoutSameSiteMustBeSecure, a=testonly 2019-06-19 11:05:56 -07:00
core-aam
cors Bug 1541558 [wpt PR 16048] - CORS/XHR: mark Client Hints tentative, a=testonly 2019-04-24 11:30:51 +01:00
credential-management
css Bug 1559627 - More reliably detect position changes during reframe. r=rhunt 2019-06-24 15:44:21 +00:00
custom-elements Bug 1556697 [wpt PR 17162] - custom-elements: Add a test for upgrade failure due to non-null shado…, a=testonly 2019-06-19 11:06:57 -07:00
device-memory Bug 1536187 [wpt PR 14798] - Remove inactive reviewers, a=testonly 2019-04-01 14:43:38 +01:00
docs Bug 1556498 [wpt PR 17148] - Load Ahem as a webfont everywhere (part 1), a=testonly 2019-06-19 11:06:40 -07:00
dom Bug 1554145 [wpt PR 15122] - Align legacy callback interface tests, a=testonly 2019-06-19 11:06:04 -07:00
domparsing Bug 1550998 [wpt PR 16741] - domparsing: Add comments about specification issue URLs, a=testonly 2019-06-05 10:29:39 +01:00
domxpath Bug 1555248 [wpt PR 17060] - Remove remaining IDL implements, a=testonly 2019-06-19 11:06:17 -07:00
dpub-aam
dpub-aria
editing Bug 1551895 [wpt PR 16817] - [LayoutNG] Don't force legacy layout on ::first-letter pseudos., a=testonly 2019-06-19 11:05:17 -07:00
element-timing Bug 1556089 [wpt PR 17122] - [ElementTiming] Text support part 2, a=testonly 2019-06-19 11:06:42 -07:00
encoding Bug 1532639 [wpt PR 15630] - Add <meta name=timeout content=long> to WPT in SlowTests, a=testonly 2019-04-24 11:19:30 +01:00
encrypted-media Bug 1536187 [wpt PR 14798] - Remove inactive reviewers, a=testonly 2019-04-01 14:43:38 +01:00
entries-api
event-timing Bug 1551917 [wpt PR 16803] - Reland "[EventTiming] Fix programmatic click test", a=testonly 2019-06-19 11:05:20 -07:00
eventsource Bug 1557389 [wpt PR 17207] - Fix spelling errors in /tests/wpt, a=testonly 2019-06-19 11:06:46 -07:00
feature-policy Bug 1554644 [wpt PR 17030] - CSS Filter: Default value for filter functions, a=testonly 2019-06-19 11:06:51 -07:00
fetch Bug 1557274 [wpt PR 17202] - Worker: Set correct RequestContextType for Plz{Dedicated,Shared}Worker, a=testonly 2019-06-19 11:06:47 -07:00
FileAPI Bug 1536000 [wpt PR 7494] - Add more tests for FileReader.result., a=testonly 2019-06-05 10:27:46 +01:00
fonts Bug 1556498 [wpt PR 17148] - Load Ahem as a webfont everywhere (part 1), a=testonly 2019-06-19 11:06:40 -07:00
fullscreen Bug 1552370 [wpt PR 16758] - Only allow one full screen per user activation - experimental, a=testonly 2019-06-19 11:06:18 -07:00
gamepad Bug 1536187 [wpt PR 14798] - Remove inactive reviewers, a=testonly 2019-04-01 14:43:38 +01:00
generic-sensor Bug 1550218 [wpt PR 16414] - [generic-sensor] Avoid unhandled promise rejection, a=testonly 2019-06-05 10:26:51 +01:00
geolocation-API Bug 1509772 [wpt PR 14227] - Remove the timeout in async_test for missing tests, a=testonly 2018-12-11 15:49:54 +00:00
geolocation-sensor Bug 1523562 [wpt PR 14827] - Feature Policy JS API Update: Add document.featurePolicy.features, a=testonly 2019-02-07 21:51:02 +00:00
graphics-aam
gyroscope Bug 1532639 [wpt PR 15630] - Add <meta name=timeout content=long> to WPT in SlowTests, a=testonly 2019-04-24 11:19:30 +01:00
hr-time Bug 1512574 [wpt PR 14409] - Remove test-level assert property from tests, a=testonly 2018-12-14 13:54:42 +00:00
html Bug 1559008. Load catalog DTDs even if we don't have a useful DTD URI, since we ignore that URI anyway when we find a catalog DTD. r=peterv 2019-06-24 12:45:22 +00:00
html-longdesc
html-media-capture Bug 1536187 [wpt PR 14798] - Remove inactive reviewers, a=testonly 2019-04-01 14:43:38 +01:00
idle-detection Bug 1539463 [wpt PR 16033] - [idle] Add a threshold minimum of 60 seconds in IdleDetector, a=testonly 2019-04-24 11:30:54 +01:00
imagebitmap-renderingcontext Bug 1556071 [wpt PR 17121] - Reland "Reland "Adding support to bitmaprenderer in OffscreenCanvas"", a=testonly 2019-06-19 11:06:34 -07:00
images Bug 1526329 [wpt PR 15076] - Add fyi logos, a=testonly 2019-02-14 11:38:22 +00:00
import-maps Bug 1538300 [wpt PR 15919] - [Import Maps] Apply inline-script CSP checks to import maps, a=testonly 2019-04-24 11:18:43 +01:00
IndexedDB Bug 1554574 [wpt PR 17020] - Revert "IndexedDB: Convert nested cloning WPT tests to .any.js.", a=testonly 2019-06-19 11:06:06 -07:00
inert
infrastructure Bug 1546905 [wpt PR 16475] - [WPT] Reland Upload a test for sending mouse events with key pressed, a=testonly 2019-06-19 11:06:33 -07:00
input-device-capabilities
input-events Bug 998941 - Update web platform tests for InputEvent.data and InputEvent.dataTransfer r=smaug 2019-02-19 06:34:21 +00:00
interfaces Bug 1554060 [wpt PR 16788] - Update interfaces/web-animations.idl, a=testonly 2019-06-19 11:06:57 -07:00
intersection-observer Bug 1551928 [wpt PR 16834] - [IntersectionObserver] Fix target rect for block inside inline, a=testonly 2019-06-19 11:05:21 -07:00
js Bug 1527319 [wpt PR 15333] - [js] Remove invalid tests for JavaScript built-ins, a=testonly 2019-04-24 11:31:15 +01:00
keyboard-lock
keyboard-map
kv-storage Bug 1532639 [wpt PR 15630] - Add <meta name=timeout content=long> to WPT in SlowTests, a=testonly 2019-04-24 11:19:30 +01:00
layout-instability Bug 1557377 [wpt PR 16855] - Update LayoutShift entryType and rename "fraction" to "value"., a=testonly 2019-06-19 11:05:30 -07:00
lifecycle Bug 1554214 [wpt PR 16998] - Freezing on load., a=testonly 2019-06-19 11:06:19 -07:00
loading Bug 1509790 [wpt PR 14230] - Fix CSSPreloadScanner to avoid missing rules (reland), a=testonly 2018-12-11 15:49:49 +00:00
longtask-timing Bug 1529818 [wpt PR 15492] - LongTasks: fix sibling layout test, a=testonly 2019-03-16 12:13:18 +00:00
magnetometer Bug 1532639 [wpt PR 15630] - Add <meta name=timeout content=long> to WPT in SlowTests, a=testonly 2019-04-24 11:19:30 +01:00
mathml Bug 1557653 [wpt PR 17227] - MathML dynamic fraction test: Use <mn> for numbers., a=testonly 2019-06-19 11:06:48 -07:00
media
media-capabilities Bug 1551909 [wpt PR 16753] - Media Capabilities: enable API on workers., a=testonly 2019-06-19 11:05:19 -07:00
media-source Bug 1558480 [wpt PR 17266] - Use assert_approx_equals in MediaSource tests, a=testonly 2019-06-19 11:06:59 -07:00
mediacapture-depth Bug 1538342 [wpt PR 15926] - [getUserMedia] Revert obsolete depthNear, depthFar, focalLengthX, focalLengthY., a=testonly 2019-04-24 11:18:54 +01:00
mediacapture-fromelement Bug 1514241 - Remove Chrome-specific dependency and modernize. r=jib 2018-12-17 13:56:05 +00:00
mediacapture-image Bug 1525554 - Fix "MojoInterfaceInterceptor is not defined" error; r=annevk 2019-05-22 14:14:18 +00:00
mediacapture-record Bug 1523562 [wpt PR 14809] - MediaRecorder: Upstream some moarrrr web_tests to WPT, a=testonly 2019-02-07 21:50:17 +00:00
mediacapture-streams Bug 1554618 [wpt PR 17028] - [MediaStreamTrack] Remove tests and existing support for the 'volume' property., a=testonly 2019-06-19 11:06:27 -07:00
mediasession
mimesniff Bug 1454984 [wpt PR 10525] - Parsing Content-Type, a=testonly 2018-12-11 15:49:52 +00:00
mixed-content Bug 1547680 [wpt PR 16547] - [WPT/common/security-features] Support worker-related scopes, a=testonly 2019-06-05 10:27:48 +01:00
mst-content-hint
native-file-system Bug 1556850 [wpt PR 17175] - [Native File System] Remove copyTo and moveTo features, a=testonly 2019-06-19 11:06:43 -07:00
navigation-timing Bug 1534886 [wpt PR 15746] - [Navigation timing] Make sure unloadEvent is only exposed when all redirects pass TAO, a=testonly 2019-04-01 14:43:24 +01:00
netinfo Bug 1541982 [wpt PR 16250] - Fix netinfo Web Platform Test, a=testonly 2019-06-05 10:25:17 +01:00
network-error-logging Bug 1530812 [wpt PR 15495] - Add signed exchange reporting error test cases, a=testonly 2019-03-16 12:13:20 +00:00
notifications Bug 1536187 [wpt PR 14798] - Remove inactive reviewers, a=testonly 2019-04-01 14:43:38 +01:00
offscreen-canvas Bug 1557142 [wpt PR 17193] - Canvas::TestMetrics: Add tests to measure the TextMetrics info for offscreencanvas, a=testonly 2019-06-19 11:06:50 -07:00
old-tests
orientation-event Bug 1538286 [wpt PR 15939] - Restrict the rest manual tests to secure origins, a=testonly 2019-04-24 11:18:39 +01:00
orientation-sensor Bug 1532639 [wpt PR 15630] - Add <meta name=timeout content=long> to WPT in SlowTests, a=testonly 2019-04-24 11:19:30 +01:00
origin-policy Bug 1528967 [wpt PR 15462] - [Origin Policy] Implement error reporting via Reporting API, a=testonly 2019-04-01 14:42:39 +01:00
page-visibility
paint-timing Bug 1536187 [wpt PR 14798] - Remove inactive reviewers, a=testonly 2019-04-01 14:43:38 +01:00
payment-handler Bug 1554262 [wpt PR 17001] - Fix a typo in app-change-payment-method.js, a=testonly 2019-06-19 11:06:00 -07:00
payment-method-basic-card Bug 1538459 [wpt PR 15995] - Fix a bunch of bugs 🤦‍♂️, a=testonly 2019-04-24 11:19:21 +01:00
payment-method-id Bug 1536187 [wpt PR 14798] - Remove inactive reviewers, a=testonly 2019-04-01 14:43:38 +01:00
payment-request Bug 1558392 [wpt PR 17262] - Remove deadlock from payment-is-showing test, a=testonly 2019-06-19 11:06:58 -07:00
performance-timeline Bug 1556503 [wpt PR 17149] - Caching vectors for PerformanceObserver.supportedEntryTypes, a=testonly 2019-06-19 11:06:55 -07:00
permissions Bug 1546902 [wpt PR 16351] - [Background Sync] Add 'periodic-background-sync' permission., a=testonly 2019-06-05 10:28:27 +01:00
picture-in-picture Bug 1550288 [wpt PR 16419] - [Picture-in-Picture] Remove shadow DOM support for pseudo class, a=testonly 2019-06-05 10:28:02 +01:00
pointerevents Bug 1556097 [wpt PR 17123] - Use testdriver Action API in WPT pointerevent tests - Part 9, a=testonly 2019-06-19 11:06:34 -07:00
pointerlock Bug 1534874 [wpt PR 15745] - Automate some pointerlock wpt, a=testonly 2019-04-01 14:43:26 +01:00
portals Bug 1555129 [wpt PR 17052] - Plumb referrer through portal navigation., a=testonly 2019-06-19 11:06:29 -07:00
preload Bug 1556961 [wpt PR 17184] - Adjust imagesrcset test for device pixel ratio, a=testonly 2019-06-19 11:06:41 -07:00
presentation-api Bug 1550313 [wpt PR 16615] - [Presentation API] Fix getAvailability tests., a=testonly 2019-06-05 10:28:19 +01:00
priority-hints
proximity Bug 1536187 [wpt PR 14798] - Remove inactive reviewers, a=testonly 2019-04-01 14:43:38 +01:00
push-api
quirks Bug 1528145 [wpt PR 15380] - Quirks: percentage height quirk does not apply to flex/grid, a=testonly 2019-04-24 11:31:52 +01:00
referrer-policy Bug 1554356 [wpt PR 17009] - Apply iframe referrerpolicy attribute to non-initial loads., a=testonly 2019-06-19 11:06:12 -07:00
remote-playback
reporting Bug 1529156 [wpt PR 15305] - Add testdriver support for generate_test_report WebDriver command., a=testonly 2019-03-16 12:13:09 +00:00
requestidlecallback Bug 1532639 [wpt PR 15630] - Add <meta name=timeout content=long> to WPT in SlowTests, a=testonly 2019-04-24 11:19:30 +01:00
resize-observer Bug 1550370 [wpt PR 16676] - Fix the exception-handling for resize-observer., a=testonly 2019-06-05 10:29:17 +01:00
resource-timing Bug 1551469 [wpt PR 16792] - worker: Add wpt for ResourceTiming on nested dedicated workers, a=testonly 2019-06-19 11:05:10 -07:00
resources Bug 1557428 [wpt PR 17209] - rm @tobie from META files, a=testonly 2019-06-19 11:06:44 -07:00
screen-capture Bug 1532522 [wpt PR 15621] - Mark MediaDevices-related interfaces as SecureContext, a=testonly 2019-04-01 14:42:34 +01:00
screen-orientation Bug 1534117 [wpt PR 15705] - Screen Orientation: active lock orientation algorithm tests, a=testonly 2019-04-24 11:30:43 +01:00
scroll-animations Bug 1536187 [wpt PR 14798] - Remove inactive reviewers, a=testonly 2019-04-01 14:43:38 +01:00
secure-contexts
selection Bug 1535931 [wpt PR 15812] - Selection and document.open(), a=testonly 2019-04-01 14:43:36 +01:00
serial Bug 1516736 [wpt PR 14686] - [serial] Implement feature policy checks, a=testonly 2019-02-26 12:05:13 +00:00
server-timing
service-workers Bug 1558742 [wpt PR 17284] - Worker: Modernize worker-interception.https.html, a=testonly 2019-06-19 11:07:01 -07:00
shadow-dom Bug 1552241 [wpt PR 16795] - shadow-dom: Add testcases for attachShadow() with disabledFeatures=['shadow'], a=testonly 2019-06-19 11:05:32 -07:00
shape-detection Bug 1550985 [wpt PR 16723] - [Shape Detection] Check for a neutered ImageData buffer, a=testonly 2019-06-05 10:29:32 +01:00
signed-exchange Bug 1558174 [wpt PR 17243] - Fix generate-test-sxgs.sh for OS X, a=testonly 2019-06-19 11:06:54 -07:00
sms Bug 1552544 [wpt PR 16899] - Address review comments that were mistakenly abandoned in #16452., a=testonly 2019-06-19 11:05:37 -07:00
speech-api Bug 1551020 [wpt PR 16752] - Update SpeechSynthesisUtterance-volume-manual.html, a=testonly 2019-06-05 10:29:51 +01:00
storage Bug 1514436 [wpt PR 14531] - Reland "Add quota usage details tests for all other storage backends.", a=testonly 2019-02-07 21:50:57 +00:00
streams Bug 1547574 [wpt PR 16541] - Web Platform Tests: Append comment with instructions for chrome, a=testonly 2019-06-05 10:27:39 +01:00
subresource-integrity Bug 1536187 [wpt PR 14798] - Remove inactive reviewers, a=testonly 2019-04-01 14:43:38 +01:00
svg Bug 1529572 - Should resolve absolute units r=longsonr 2019-06-23 12:51:05 +00:00
svg-aam
tools Bug 1560960 - Fix waiting for wpt servers to start, r=whimboo 2019-06-24 20:13:13 +00:00
touch-events
trusted-types Bug 1557334 [wpt PR 16821] - Implement TrustedTypes.emptyHTML, a=testonly 2019-06-19 11:05:25 -07:00
uievents Bug 1557604 [wpt PR 16199] - Implement WheelEvent interface, a=testonly 2019-06-19 11:06:52 -07:00
upgrade-insecure-requests Bug 1539558 [wpt PR 16072] - [WPT] Move wrapResult to common.js and clarify requestVia*() return values, a=testonly 2019-06-05 10:25:59 +01:00
url Bug 1553511 [wpt PR 16952] - Make url/historical.any.js run in shell environment, a=testonly 2019-06-19 11:05:48 -07:00
user-timing Bug 1552575 [wpt PR 16901] - [UserTimingL3] Throw error when global object is not Window object, a=testonly 2019-06-19 11:05:48 -07:00
vibration Bug 1536187 [wpt PR 14798] - Remove inactive reviewers, a=testonly 2019-04-01 14:43:38 +01:00
visual-viewport Bug 1550813 - Revise viewport-resize-event-on-load-overflowing-page.html to avoid bug 1547827. r=jgraham 2019-05-23 00:39:30 +00:00
wai-aria
wake-lock Bug 1549705 [wpt PR 15943] - [wake-lock] Add tests for AbortSignal, a=testonly 2019-06-19 11:06:13 -07:00
wasm Bug 1551028 [wpt PR 16746] - Add a test for transferring a WebAssembly ArrayBuffer, a=testonly 2019-06-05 10:29:54 +01:00
web-animations Bug 1557563 - Add computed value ZeroToOneNumber r=emilio,birtles 2019-06-23 23:01:47 +00:00
web-locks Bug 1523562 [wpt PR 15016] - Add assert descriptions to Web Locks test to aid debugging, a=testonly 2019-02-07 21:50:55 +00:00
web-nfc Bug 1553762 [wpt PR 16968] - [webnfc] Fix wpt NFCWriter_push.https.html., a=testonly 2019-06-19 11:05:52 -07:00
web-share Bug 1550323 [wpt PR 16603] - Web Share: Manual tests for file sharing, a=testonly 2019-06-05 10:28:28 +01:00
webaudio Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-06-20 14:19:57 +03:00
webauthn Bug 1541777 [wpt PR 16212] - Simplify the Web Authentication idlharness test, a=testonly 2019-06-05 10:25:04 +01:00
WebCryptoAPI Bug 1510941 [wpt PR 14291] - [WebCryptoAPI] Remove race condition, a=testonly 2018-12-14 13:54:49 +00:00
webdriver Bug 1477977 - [marionette] Handle "tabmodal-dialog-loaded" to observe new tab modal dialogs. r=maja_zf 2019-06-07 18:36:48 +00:00
webgl Bug 1528741 [wpt PR 15411] - Mark WebGL idlharness tests as slow, a=testonly 2019-03-16 12:12:50 +00:00
WebIDL Bug 1557428 [wpt PR 17209] - rm @tobie from META files, a=testonly 2019-06-19 11:06:44 -07:00
webmessaging Merge mozilla-inbound to mozilla-central. a=merge 2019-04-02 00:55:55 +03:00
webmidi
webrtc Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-06-20 14:19:57 +03:00
webrtc-identity Bug 1556801: Make the identity verification code a little easier to read, and reject identity mismatch with an OperationError r=jib 2019-06-14 14:10:04 +00:00
webrtc-quic Bug 1550351 [wpt PR 16665] - Reland "Disallows reusing RTCIceTransport.", a=testonly 2019-06-05 10:28:49 +01:00
webrtc-stats Bug 1523562 [wpt PR 14983] - Make webrtc-stats idlharness.js test depend on webrtc, a=testonly 2019-02-07 21:51:05 +00:00
websockets Bug 1532639 [wpt PR 15630] - Add <meta name=timeout content=long> to WPT in SlowTests, a=testonly 2019-04-24 11:19:30 +01:00
webstorage Bug 1545622 [wpt PR 16262] - Update test for Storage [[Set]]., a=testonly 2019-06-05 10:26:08 +01:00
webusb Bug 1550975 [wpt PR 16695] - Check for detached ArrayBuffers in WebUSB transfer functions, a=testonly 2019-06-05 10:29:20 +01:00
webvr Bug 1551753 [wpt PR 16722] - Restructure WebXR & WebVR Feature Policy tests, a=testonly 2019-06-19 11:05:11 -07:00
webvtt Bug 1556841 [wpt PR 17173] - Load Ahem as a webfont everywhere (part 2), a=testonly 2019-06-19 11:06:58 -07:00
webxr Bug 1555528 [wpt PR 17089] - Simplifying inline WebXR rendering, a=testonly 2019-06-19 11:06:24 -07:00
workers Bug 1557385 [wpt PR 16841] - Worker: Don't touch SharedWorkerClient when a connecting document may get destroyed, a=testonly 2019-06-19 11:05:31 -07:00
worklets Bug 1523562 [wpt PR 14774] - [wpt/upgrade-insecure-requests] Add worker/worklet tests, a=testonly 2019-02-07 21:50:08 +00:00
x-frame-options Bug 1550606 - Fix a race condition in WPT related to postMessage r=smaug 2019-05-21 19:11:29 +00:00
xhr Bug 1551771 [wpt PR 16794] - xhr: Use .any.js syntax for access-control-{and-redirects-*,basic-allow-*} tests, a=testonly 2019-06-19 11:05:16 -07:00
.azure-pipelines.yml Bug 1557628 [wpt PR 17224] - [Azure Pipelines] add --channel dev to edgechromium, a=testonly 2019-06-19 11:06:51 -07:00
.codecov.yml
.gitattributes Bug 1553177 [wpt PR 16936] - Add Windows 2019 test jobs for Python unittests, a=testonly 2019-06-19 11:05:49 -07:00
.gitignore Bug 1547481 [wpt PR 16533] - Add submissions/ to .gitignore, a=testonly 2019-06-05 10:27:27 +01:00
.mailmap Bug 1527461 [wpt PR 15353] - Add .mailmap to map people to their current names, a=testonly 2019-02-26 12:05:32 +00:00
.pyup.yml Bug 1546855 [wpt PR 16346] - Run mypy on the manifest code., a=testonly 2019-06-05 10:27:14 +01:00
.taskcluster.yml Bug 1558769 [wpt PR 17287] - Fix #17286: TC needs to update the apt database before installing, a=testonly 2019-06-19 11:06:59 -07:00
check_stability.ini Bug 1512004 [wpt PR 14354] - Implement --affected in wpt run and use it on Taskcluster, a=testonly 2018-12-14 13:54:44 +00:00
CODEOWNERS Bug 1526581 [wpt PR 15249] - CODEOWNERS cleanup, a=testonly 2019-02-26 12:05:02 +00:00
CONTRIBUTING.md Bug 1547501 [wpt PR 11191] - Use the The 3-Clause BSD License from opensource.org, a=testonly 2019-06-05 10:27:24 +01:00
LICENSE
LICENSE.md Bug 1547501 [wpt PR 11191] - Use the The 3-Clause BSD License from opensource.org, a=testonly 2019-06-05 10:27:24 +01:00
lint.whitelist Bug 1552214 [wpt PR 16858] - NG/DL: Implement size containment (and display lock) for NG fieldset algo, a=testonly 2019-06-19 11:07:02 -07:00
README.md Bug 1550995 [wpt PR 16650] - [docs] Remove instructions for submodules, a=testonly 2019-06-05 10:29:39 +01:00
server-side.md
testharness_runner.html
update-built-tests.sh Bug 1553169 [wpt PR 14996] - [css-ui] Test appearance <compat> values and 'auto', a=testonly 2019-06-19 11:05:45 -07:00
wpt
wpt.py

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

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/ *

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

Certificates

By default pre-generated certificates for the web-platform.test domain are provided in tools/certs. If you wish to generate new certificates for any reason it's possible to use OpenSSL when starting the server, or starting a test run, by providing the --ssl-type=openssl argument to the wpt serve or wpt run commands.

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"}}

On Windows using OpenSSL 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 create a file called config.json. Then add the OpenSSL configuration below, ensuring 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):

{
  "ssl": {
    "type": "openssl",
    "encrypt_after_connect": false,
    "openssl": {
      "openssl_binary": "openssl",
      "base_path: "_certs",
      "force_regenerate": false,
      "base_conf_path": "C:\\OpenSSL-Win32\\bin\\openssl.cfg"
    },
  },
}

Trusting Root CA

To prevent browser SSL warnings when running HTTPS tests locally, the web-platform-tests Root CA file cacert.pem in tools/certs must be added as a trusted certificate in your OS/browser.

NOTE: The CA should not be installed in any browser profile used outside of tests, since it may be used to generate fake certificates. For browsers that use the OS certificate store, tests should therefore not be run manually outside a dedicated OS instance (e.g. a VM). To avoid this problem when running tests in Chrome or Firefox use wpt run, which disables certificate checks and therefore doesn't require the root CA to be trusted.

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.

Finding Things

Each top-level directory matches the shortname used by a standard, with some exceptions. (Typically the shortname is from the standard's corresponding GitHub repository.)

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.

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.

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.

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

Search filters to find things to 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