gecko-dev/testing/web-platform/tests
Cameron McCormack d10e0ca0c2 Bug 1501261 - Part 2: Serialize `background-size: auto auto` as "auto" r=firefox-style-system-reviewers,emilio
With this change, all of Chrome, Edge, Firefox, and Safari serialize
background-size by omitting the second "auto" if the value is "auto
auto".  Other keywords are still repeated.

Depends on D10445

Differential Revision: https://phabricator.services.mozilla.com/D10446

--HG--
extra : moz-landing-system : lando
2018-11-05 02:21:41 +00:00
..
.well-known Bug 1474673 [wpt PR 11889] - Origin Policy: Web Platform Tests for Origin Policy w/ CSP., a=testonly 2018-08-10 08:56:38 +00:00
2dcontext Bug 1501924 - Fix a wrong use of assert_throws in createImageBitmap-invalid-args, r=Ms2ger 2018-10-25 10:44:26 +02:00
BackgroundSync Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
FileAPI Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
IndexedDB Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
WebCryptoAPI Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
WebIDL Bug 1476293 [wpt PR 12024] - Add spec links to META.yml, a=testonly 2018-07-29 18:49:42 +01:00
accelerometer Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
accname Bug 1494937 [wpt PR 13259] - accname: tweak two tests for clarity, a=testonly 2018-10-08 16:45:27 +00:00
acid Bug 1464894 [wpt PR 11201] - Rename of OWNER files to META.yml, a=testonly 2018-07-11 07:49:41 +01:00
ambient-light Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
animation-worklet Bug 1483045 [wpt PR 12444] - Update the Animation Worklet IDL file + test, a=testonly 2018-08-15 16:50:44 +00:00
annotation-model Bug 1476525 [wpt PR 12045] - Add more spec links to META.yml, a=testonly 2018-07-29 18:50:26 +01:00
annotation-protocol Bug 1476525 [wpt PR 12045] - Add more spec links to META.yml, a=testonly 2018-07-29 18:50:26 +01:00
annotation-vocab Bug 1481705 [wpt PR 12348] - Update nokogiri version, a=testonly 2018-08-14 16:45:14 +00:00
apng Bug 1476525 [wpt PR 12045] - Add more spec links to META.yml, a=testonly 2018-07-29 18:50:26 +01:00
appmanifest Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
async-local-storage Bug 1482539 [wpt PR 12416] - [Layered API] Update async local storage implementation and tests, a=testonly 2018-08-23 17:06:01 +00:00
audio-output Bug 1499871 - Fix spelling of "NotAllowedError" r=achronop 2018-10-24 17:21:13 +00:00
background-fetch Bug 1498415 [wpt PR 13473] - [Background Fetch] Add WPT tests for BackgroundFetchRegistration::abort, a=testonly 2018-10-17 15:44:39 +01:00
battery-status Bug 1482926 [wpt PR 12422] - [Battery] Correct IDL file name, a=testonly 2018-08-15 16:50:35 +00:00
beacon Bug 1499900 - Fix the test to use http://nonexistent.web-platform.test/ r=jgraham 2018-10-24 21:43:06 +00:00
bluetooth Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
clear-site-data Bug 1479519 - WPT for Clear-Site-Data executionContexts, r=smaug 2018-08-01 09:01:40 +02:00
client-hints Bug 1484147 [wpt PR 12542] - Modify source path for wpt test of Accept-CH, a=testonly 2018-08-29 10:09:04 +00:00
clipboard-apis Bug 1476293 [wpt PR 12024] - Add spec links to META.yml, a=testonly 2018-07-29 18:49:42 +01:00
common Bug 1496577 - have OPTIONS preflights inherit the original request's referrer and referrer policy; r=ckerschb 2018-10-12 20:05:10 +00:00
compat Bug 1487377 [wpt PR 12757] - Notify andruud on changes to wpt/css/css-properties-values-api., a=testonly 2018-09-05 13:09:06 +00:00
conformance-checkers Bug 1496891 [wpt PR 13404] - cc Update messages.json, a=testonly 2018-10-12 16:44:34 +00:00
console Bug 1482377 [wpt PR 12405] - Convert compat+console+fullscreen+storage+url+xhr to idl_test, a=testonly 2018-08-15 16:50:25 +00:00
content-security-policy Bug 1393004 - Make sure wpt pipes are used in form-action-blocks-navigate-to-allows and spv-only-sent-to-initiator r=jgraham 2018-11-05 18:01:16 +00:00
cookie-store Backed out 57 changesets (bug 1490749, bug 1487912, bug 1487288, bug 1489982, bug 1490079, bug 1489593, bug 1488223, bug 1490750, bug 1490004, bug 1489390, bug 1487175, bug 1491351, bug 1490596, bug 1490435, bug 1489193, bug 1490579, bug 1489352, bug 1489576, bug 1490034, bug 1488656, bug 1488490, bug 1488977, bug 1489893, bug 1489890, bug 1490886, bug 1489973, bug 1489671, bug 1490103, bug 1490190, bug 1490761, bug 1490634, bug 1490468, bug 1490636, bug 1490112, bug 1489884, bug 1490236, bug 1490556, bug 1490460, bug 1490220) for WPT mass failure at /fullscreen/idlharness.window.html. a=backout. CLOSED TREE 2018-09-15 16:00:55 +03:00
cookies Bug 1488592 [wpt PR 12835] - [cookies] Correct utility function and tests, a=testonly 2018-09-10 10:12:14 +00:00
core-aam Bug 1477123 [wpt PR 12075] - ARIA: Add team contact to suggested reviewers for wai-aria and core-aam, a=testonly 2018-07-29 18:52:46 +01:00
cors Bug 1488133 [wpt PR 12797] - Update cors/simple-requests.htm for extra "safelisted headers" rules, a=testonly 2018-09-10 10:12:01 +00:00
credential-management Bug 1476293 [wpt PR 12024] - Add spec links to META.yml, a=testonly 2018-07-29 18:49:42 +01:00
css Bug 1501261 - Part 2: Serialize `background-size: auto auto` as "auto" r=firefox-style-system-reviewers,emilio 2018-11-05 02:21:41 +00:00
custom-elements Bug 1490790 [wpt PR 12977] - Implement step 1 of "look up a custom element definition", a=testonly 2018-09-18 13:06:35 +00:00
device-memory Bug 1476293 [wpt PR 12024] - Add spec links to META.yml, a=testonly 2018-07-29 18:49:42 +01:00
docs Bug 1498069 [wpt PR 13460] - Support `./wpt run --channel=preview safari`, a=testonly 2018-10-14 00:59:50 +00:00
dom Bug 329509 - allow dispatching event when element is disabled. r=annevk,smaug 2018-10-31 08:55:33 +00:00
domparsing Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
domxpath Bug 1476525 [wpt PR 12045] - Add more spec links to META.yml, a=testonly 2018-07-29 18:50:26 +01:00
dpub-aam Bug 1476525 [wpt PR 12045] - Add more spec links to META.yml, a=testonly 2018-07-29 18:50:26 +01:00
dpub-aria Bug 1476525 [wpt PR 12045] - Add more spec links to META.yml, a=testonly 2018-07-29 18:50:26 +01:00
editing Bug 1488651 [wpt PR 12838] - Set longer timeout to all tests in wpt/editing/run/, a=testonly 2018-09-10 10:12:08 +00:00
encoding Bug 1483149 [wpt PR 12467] - Implement TextEncoderStream and TextDecoderStream, a=testonly 2018-09-10 10:11:47 +00:00
encrypted-media Bug 1488193 [wpt PR 8623] - [eme] Ensure license is expired before using it, a=testonly 2018-09-10 10:11:39 +00:00
entries-api Bug 1476293 [wpt PR 12024] - Add spec links to META.yml, a=testonly 2018-07-29 18:49:42 +01:00
eventsource Bug 1490783 [wpt PR 12976] - [testharness.js] Remove deprecated API, a=testonly 2018-09-27 09:56:08 +00:00
feature-policy Bug 1498667 [wpt PR 13484] - [Picture-in-Picture] Bail early for feature policy tests, a=testonly 2018-10-17 15:44:46 +01:00
fetch Bug 1263734: Implement ServiceWorkerContainer.startMessages() r=asuth,smaug 2018-10-11 12:37:37 +00:00
fonts Bug 1464894 [wpt PR 11201] - Rename of OWNER files to META.yml, a=testonly 2018-07-11 07:49:41 +01:00
fullscreen Bug 1492746 [wpt PR 13102] - Several fixes to manual fullscreen tests, a=testonly 2018-10-08 16:45:21 +00:00
gamepad Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
generic-sensor Bug 1495790 [wpt PR 13316] - sensors: Ensure a document without an associated frame does not crash, a=testonly 2018-10-09 10:43:08 +00:00
geolocation-API Bug 1476293 [wpt PR 12024] - Add spec links to META.yml, a=testonly 2018-07-29 18:49:42 +01:00
geolocation-sensor Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
graphics-aam Bug 1476525 [wpt PR 12045] - Add more spec links to META.yml, a=testonly 2018-07-29 18:50:26 +01:00
gyroscope Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
hr-time Bug 1488264 [wpt PR 8488] - Add tests for time-origin., a=testonly 2018-09-10 10:11:45 +00:00
html Bug 1503624 - extend timeout on wpt tests because linux asan, r=jgraham 2018-10-31 21:38:37 +00:00
html-longdesc Bug 1476525 [wpt PR 12045] - Add more spec links to META.yml, a=testonly 2018-07-29 18:50:26 +01:00
html-media-capture Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
imagebitmap-renderingcontext Bug 1476293 [wpt PR 12024] - Add spec links to META.yml, a=testonly 2018-07-29 18:49:42 +01:00
images Bug 1474669 [wpt PR 11888] - Remove reviewers who have not joined the web-platform-tests org, a=testonly 2018-07-24 21:46:17 +00:00
inert Bug 1481981 [wpt PR 12364] - Move inert tests to top level directory and rename with .tentative, a=testonly 2018-09-05 13:09:00 +00:00
infrastructure Bug 1498668 [wpt PR 13489] - Fix handling of about:blank in lint., a=testonly 2018-10-17 15:44:46 +01:00
input-device-capabilities Bug 1484806 [wpt PR 12576] - Convert Input Device Capabilities IDL test to use idl_test, a=testonly 2018-08-31 10:29:14 +00:00
input-events Bug 1484793 [wpt PR 12572] - Convert Input Events IDL test to use idl_test, a=testonly 2018-08-29 10:08:20 +00:00
interfaces Bug 1502250 - PutForwards is misspelled as PutsForward in SVG.idl r=dholbert 2018-10-26 18:15:10 +01:00
intersection-observer Bug 1495082 [wpt PR 13264] - [IntersectionObserver] Report coordinates as CSS pixels., a=testonly 2018-10-08 16:45:32 +00:00
js Bug 1476525 [wpt PR 12045] - Add more spec links to META.yml, a=testonly 2018-07-29 18:50:26 +01:00
keyboard-lock Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
keyboard-map Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
lifecycle Bug 1476293 [wpt PR 12024] - Add spec links to META.yml, a=testonly 2018-07-29 18:49:42 +01:00
longtask-timing Bug 1476293 [wpt PR 12024] - Add spec links to META.yml, a=testonly 2018-07-29 18:49:42 +01:00
magnetometer Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
mathml Bug 1499958 - Increase epsilon value for comparisons in underover-1.html r=emilio 2018-10-31 15:21:05 +00:00
media Bug 1479514 [wpt PR 12235] - Ship CreateImageBitmap resize options, a=testonly 2018-08-15 16:50:48 +00:00
media-capabilities Bug 1493798. Update the MediaCapabilities dictionaries to follow the spec more closely. r=jya 2018-09-26 19:19:47 +00:00
media-source Bug 1481631 [wpt PR 12345] - MSE: Make changeType-play layout tests' audio mime-type be audio-specific, a=testonly 2018-08-14 16:45:20 +00:00
mediacapture-depth Bug 1476293 [wpt PR 12024] - Add spec links to META.yml, a=testonly 2018-07-29 18:49:42 +01:00
mediacapture-fromelement Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
mediacapture-image Bug 1490689 [wpt PR 12967] - [Image Capture] Add exposureTime constraint., a=testonly 2018-09-20 12:09:27 +00:00
mediacapture-record Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
mediacapture-streams Bug 1258143 - Test that MediaStream is the primary interface of a getUserMedia-stream. r=jib 2018-10-15 08:18:09 +00:00
mediasession Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
mimesniff Bug 1489958 [wpt PR 12925] - MIME Sniffing: quoted empty string, a=testonly 2018-09-18 13:06:42 +00:00
mixed-content Bug 1490220 [wpt PR 12943] - Add more WPT tests for mixed-content check in workers/worklets (2/2), a=testonly 2018-09-13 02:57:58 +00:00
mst-content-hint Bug 1483784 [wpt PR 12516] - Enable the "Content hint" attribute of MediaStreamTrack, a=testonly 2018-08-20 13:38:50 +00:00
navigation-timing Bug 1494341 [wpt PR 13223] - [DomInteractive] Mark Dom interactive to media document and image document, a=testonly 2018-10-08 16:45:19 +00:00
netinfo Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
network-error-logging Bug 1487400 [wpt PR 12760] - Add comment describing shared lock for NEL tests, a=testonly 2018-09-05 13:09:04 +00:00
notifications Bug 1483546 [wpt PR 12500] - Avoid invoking the Notification constructor in service workers, a=testonly 2018-08-17 14:30:54 +00:00
offscreen-canvas Bug 1476293 [wpt PR 12024] - Add spec links to META.yml, a=testonly 2018-07-29 18:49:42 +01:00
old-tests Bug 1481213 [wpt PR 7595] - Convert Microsoft's selection tests to testharness.js, a=testonly 2018-08-08 12:10:00 +00:00
orientation-event Bug 1495444 [wpt PR 5149] - ondeviceorientationabsolute event attribute, a=testonly 2018-10-08 16:45:41 +00:00
orientation-sensor Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
origin-policy Bug 1474673 [wpt PR 11889] - Origin Policy: Web Platform Tests for Origin Policy w/ CSP., a=testonly 2018-08-10 08:56:38 +00:00
page-visibility Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
paint-timing Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
payment-handler Bug 1486350 [wpt PR 12684] - Remove languageCode tests, a=testonly 2018-09-27 09:55:56 +00:00
payment-method-basic-card Bug 1486350 [wpt PR 12684] - Remove languageCode tests, a=testonly 2018-09-27 09:55:56 +00:00
payment-method-id Bug 1494475 [wpt PR 13229] - Adding test file to the payment-request-id directory, a=testonly 2018-10-08 16:45:18 +00:00
payment-request Bug 1497699 - Drop support for PaymentItem.type. r=edenchuang,baku 2018-10-16 12:53:01 +00:00
performance-timeline Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
permissions Bug 1496151 [wpt PR 13340] - [Background Fetch] Surface background-fetch permission., a=testonly 2018-10-12 16:44:33 +00:00
picture-in-picture Bug 1498407 [wpt PR 13472] - Clean Picture-in-Picture Web Platform Tests, a=testonly 2018-10-17 15:44:39 +01:00
pointerevents Bug 1492300 [wpt PR 13059] - Use NotFoundError instead of InvalidPointerId, a=testonly 2018-09-27 09:55:50 +00:00
pointerlock Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
preload Bug 1487661 [wpt PR 12776] - Implement script and style attr/elem CSP directives, a=testonly 2018-09-10 10:12:09 +00:00
presentation-api Bug 1467322 [wpt PR 11371] - [presentation-api] Modify the test to check NotFoundError on reconnecting, a=testonly 2018-09-18 13:06:37 +00:00
priority-hints Bug 1481202 [wpt PR 12324] - Add more suggested reviewers for Priority Hints, a=testonly 2018-08-10 08:56:46 +00:00
proximity Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
push-api Bug 1481785 [wpt PR 12353] - Rename idlharness tests for [SecureContext] APIs to .https., a=testonly 2018-08-14 16:45:19 +00:00
quirks Bug 1487024 [wpt PR 12733] - More properties do not accept number, a=testonly 2018-09-05 13:08:44 +00:00
referrer-policy Bug 1495623 [wpt PR 5054] - Add test cases for multiple Referrer-Policy headers, a=testonly 2018-10-09 10:42:58 +00:00
remote-playback Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
reporting Bug 1483515 [wpt PR 12496] - Add Reporting API IDL file + test, a=testonly 2018-08-17 14:30:56 +00:00
requestidlecallback Bug 1476293 [wpt PR 12024] - Add spec links to META.yml, a=testonly 2018-07-29 18:49:42 +01:00
resize-observer Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
resource-timing Bug 1497681 [wpt PR 13437] - Fix flakiness in resource_timing_buffer_full_250, a=testonly 2018-10-17 15:44:40 +01:00
resources Bug 1498649 [wpt PR 13482] - [mojo JS bindings] Emit MIN_VALUE and MAX_VALUE for enums, a=testonly 2018-10-17 15:44:47 +01:00
screen-capture Bug 1485546 [wpt PR 12638] - Add observable settings for getDisplayMedia(), a=testonly 2018-09-10 10:11:29 +00:00
screen-orientation Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
scroll-animations Bug 1484803 [wpt PR 12575] - Convert Scroll-linked Animations IDL test to use idl_test, a=testonly 2018-08-29 10:08:21 +00:00
secure-contexts Bug 1482241 [wpt PR 12386] - Rewrite secure-contexts/idlharness.any.js to use idl_test, a=testonly 2018-08-15 16:50:20 +00:00
selection Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
server-timing Bug 1478182 [wpt PR 12171] - add cvazac as "suggested reviewer" for server-timing, a=testonly 2018-07-31 13:05:30 +00:00
service-workers Bug 1354577 - require ServiceWorkerGlobalScope.importScripts() to only accept JavaScript MIME types r=edenchuang 2018-10-29 15:08:24 +00:00
shadow-dom Bug 1494918 - FlattenAssignedNodes should check that slots are in shadow root , r=edgar 2018-10-01 22:23:27 +03:00
shape-detection Bug 1476293 [wpt PR 12024] - Add spec links to META.yml, a=testonly 2018-07-29 18:49:42 +01:00
speech-api Bug 1491592 [wpt PR 13017] - Use the voiceschanged event to wait for SpeechSynthesisVoice instance, a=testonly 2018-10-09 10:43:13 +00:00
storage Bug 1486809 [wpt PR 12722] - Storage API: Register "persistent-storage" permission string, a=testonly 2018-09-05 13:09:14 +00:00
streams Bug 1488445 - Remove and replace obsolete ESLint rules. r=mossop 2018-09-04 18:08:43 +00:00
subresource-integrity Bug 1482975 [wpt PR 12429] - Fix dependency order in subresource-integrity/idlharness.window.js, a=testonly 2018-08-15 16:50:45 +00:00
svg Bug 1502658 - Remove SVG use attribute change handling code from nsSVGUseFrame to SVGUseElement. r=longsonr 2018-10-28 23:20:43 +00:00
svg-aam Bug 1476525 [wpt PR 12045] - Add more spec links to META.yml, a=testonly 2018-07-29 18:50:26 +01:00
tools Backed out 13 changesets (bug 1497898) for build bustages beacon-error.window.js CLOSED TREE 2018-11-02 19:52:15 +02:00
touch-events Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
trusted-types Bug 1498665 [wpt PR 13488] - Small adjustment to document.write TrustedTypes test., a=testonly 2018-10-17 15:44:44 +01:00
uievents Bug 1483012 [wpt PR 12435] - Rewrite UI Events IDL test to use idl_test, a=testonly 2018-08-16 17:47:16 +00:00
upgrade-insecure-requests Bug 1476293 [wpt PR 12024] - Add spec links to META.yml, a=testonly 2018-07-29 18:49:42 +01:00
url Bug 1484952 [wpt PR 12584] - Add some missing 'var's to urlsearchparams-constructor.any.js., a=testonly 2018-08-29 10:08:23 +00:00
user-timing Bug 1484356 [wpt PR 12556] - [UserTiming] Correct measure where start is undefined, a=testonly 2018-08-29 10:09:05 +00:00
vibration Bug 1483000 [wpt PR 12433] - Rewrite Vibration API IDL test to use idl_test, a=testonly 2018-08-16 17:47:23 +00:00
visual-viewport Bug 1476293 [wpt PR 12024] - Add spec links to META.yml, a=testonly 2018-07-29 18:49:42 +01:00
wai-aria Bug 1488352 [wpt PR 12822] - Add IDL tests for WAI-ARIA, a=testonly 2018-09-10 10:11:54 +00:00
wake-lock Bug 1471813 [wpt PR 11704] - Wake Lock API: Implement Screen WakeLock based on Promises., a=testonly 2018-08-23 17:06:08 +00:00
wasm Bug 1500442 - Update wasm-module-builder.js; r=bbouvier 2018-10-22 08:44:16 +02:00
web-animations Bug 1501261 - Part 1: Use Servo to serialize border-image-repeat r=firefox-style-system-reviewers,emilio 2018-11-05 02:21:39 +00:00
web-locks Bug 1488977 [wpt PR 12860] - Web Locks API: Run tests in additional globals, a=testonly 2018-09-13 02:53:08 +00:00
web-nfc Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
web-share Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
webaudio Bug 1503950 test 3 events of the same type at the same time r=padenot 2018-11-05 12:25:11 +00:00
webauthn Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
webdriver bug 1504488: webdriver: add basic interactability tests for element click; r=whimboo 2018-11-05 20:32:19 +00:00
webgl Bug 1483522 [wpt PR 12499] - Update WebGL IDL files + tests, a=testonly 2018-08-17 14:30:55 +00:00
webmessaging Bug 1502802 - Implement PostMessageOptions for Window, r=smaug 2018-10-29 16:26:30 +01:00
webmidi Bug 1481265 [wpt PR 9841] - Add the webmidi IDL file + test, a=testonly 2018-08-08 12:09:45 +00:00
webrtc Bug 1457129 - Correct WebRTC getStats WPT to wait for remote stats before comparing r=jib 2018-11-01 22:04:14 +00:00
webrtc-stats Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
websockets Bug 1488332 [wpt PR 12819] - [WebSocket] Fix cookies/006.html?wss wpt, a=testonly 2018-09-10 10:11:52 +00:00
webstorage Bug 1497008 [wpt PR 13405] - Fix assert for StorageEvent constructor test, a=testonly 2018-10-12 16:44:35 +00:00
webusb Bug 1487880 [wpt PR 12785] - Add validation to the requestDevice filters, a=testonly 2018-09-10 10:11:28 +00:00
webvr Bug 1476525 [wpt PR 12045] - Add more spec links to META.yml, a=testonly 2018-07-29 18:50:26 +01:00
webvtt Bug 1495428 [wpt PR 6336] - Add tests for rendering regions, a=testonly 2018-10-08 16:45:40 +00:00
webxr Bug 1495726 [wpt PR 13312] - Removes tests for XRStageBoundsPoint, a=testonly 2018-10-09 10:43:03 +00:00
workers Bug 1490543 [wpt PR 12959] - ServiceWorker: Implement to return registration data after evaluate module scripts, and add WPT tests for ServiceWorker module scripts, a=testonly 2018-10-08 16:45:37 +00:00
worklets Bug 1481676 - Add AudioWorklet tests to WPT. r=karlt 2018-08-27 05:02:59 +00:00
x-frame-options Bug 1492059 - Fix x-frame-options WPTs, r=ckerschb 2018-09-18 16:57:04 +02:00
xhr Bug 1499017 [wpt PR 13517] - XHR: test unusual header name syntax, a=testonly 2018-10-17 15:44:47 +01:00
.codecov.yml
.gitignore Backed out 13 changesets (bug 1497898) for build bustages beacon-error.window.js CLOSED TREE 2018-11-02 19:52:15 +02:00
.gitmodules Bug 1467516 [wpt PR 11380] - Update html5lib and six, a=testonly 2018-06-26 02:42:25 +00:00
.pyup.yml Bug 1440672 [wpt PR 8979] - Support wpt run safari (Safari 11 and Technology Preview), a=testonly 2018-03-31 22:28:54 +01:00
.taskcluster.yml Bug 1495395 [wpt PR 13282] - Allow all pull requests to trigger Taskcluster, a=testonly 2018-10-08 16:45:38 +00:00
.travis.yml Bug 1497272 [wpt PR 13425] - Drop the use of the `hosts` addon in Travis, a=testonly 2018-10-12 16:44:41 +00:00
CODEOWNERS Bug 1462665 [wpt PR 11070] - Add CODEOWNERS to prevent submodule issues, a=testonly 2018-06-10 09:26:11 +01:00
CONTRIBUTING.md Bug 1460278 [wpt PR 10925] - Use https://web-platform-tests.org, a=testonly 2018-05-18 11:15:13 +01:00
LICENSE
LICENSE.md
README.md Bug 1494902 [wpt PR 13255] - [README] Exclude label:vendor-imports in PR links, a=testonly 2018-10-08 16:45:27 +00:00
check_stability.ini Bug 1462524 [wpt PR 11060] - Stop posting PR results to pulls.web-platform-tests.org, a=testonly 2018-05-22 09:40:39 +00:00
lint.whitelist Bug 1496619 - Part 2: Rename css-timing to css-easing r=birtles 2018-10-26 18:03:27 +00:00
serve.py
server-side.md
testharness_runner.html
update-built-tests.sh Bug 1478064 [wpt PR 12159] - [infra] Remove code for generating config file, a=testonly 2018-07-31 13:05:24 +00:00
wpt
wpt.py

README.md

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.

Submodules

Some optional components of web-platform-tests (test components from third party software and pieces of the CSS build system) are included as submodules. To obtain these components run the following in the root of your checkout:

git submodule update --init --recursive

Prior to commit 39d07eb01fab607ab1ffd092051cded1bdd64d78 submodules were required for basic functionality. If you are working with an older checkout, the above command is required in all cases.

When moving between a commit prior to 39d07eb and one after it git may complain

$ git checkout master
error: The following untracked working tree files would be overwritten by checkout:
[…]

...followed by a long list of files. To avoid this error, remove the resources and tools directories before switching branches:

$ rm -r resources/ tools/
$ git checkout master
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'

When moving in the opposite direction, i.e. to a commit that does have submodules, you will need to git submodule update, as above. If git throws an error like:

fatal: No url found for submodule path 'resources/webidl2/test/widlproc' in .gitmodules
Failed to recurse into submodule path 'resources/webidl2'
fatal: No url found for submodule path 'tools/html5lib' in .gitmodules
Failed to recurse into submodule path 'resources'
Failed to recurse into submodule path 'tools'

...then remove the tools and resources directories, as above.

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