gecko-dev/testing/web-platform/tests
Jonathan Kew 6db7978dac Bug 1681691 - Adjust font-family names used in WPT metrics-override tests to avoid spurious failures due to antialiasing in Gecko. r=emilio
Many WPT reftests compare Ahem glyphs (squares) with a reference that uses simple shapes
such as a <div> with a solid background that is expected to have the exact same size.

If antialiasing is applied to the Ahem font, such tests will often fail because of
faint antialiasing pixels at the edges of the square glyphs, even though the test is
"passing" in terms of what it actually aims to check.

Rather than annotate all such tests as "fuzzy", Gecko has an option to disable antialiasing
for the Ahem font, despite it being enabled for font rendering in general, and we use this
when running the WPT reftests. However, this depends on the font-family name being exactly
"Ahem".

Therefore, in the tests which load Ahem via @font-face and override some descriptors,
we still want to use "Ahem" as the resulting family name (shadowing the standard Ahem,
if it is locally installed) so that the non-antialiased rendering will be used.

(In the case of metrics-override-normal-keyword, there are multiple "custom" versions
of Ahem loaded by the testcase, so we instead take the approach of also loading it with
a modified family name in the reference; then both testcase and reference will get
the default antialiased font rendering rather than special "Ahem" treatment.)

Differential Revision: https://phabricator.services.mozilla.com/D109290
2021-03-23 08:37:08 +00:00
..
.github Bug 1698758 [wpt PR 28055] - [ci] Remove deployment of PRs to wptpr.live, a=testonly 2021-03-19 10:35:19 +00:00
.well-known Bug 1680134 [wpt PR 26708] - [blinkpy] Switch to run WPT subcommands using Python3, a=testonly 2020-12-17 13:30:46 +00:00
BackgroundSync Bug 1683680 [wpt PR 26970] - Add/Fix META.yml files to ease specs to WPT mapping, a=testonly 2020-12-22 17:26:21 +00:00
FileAPI Bug 1689406 [wpt PR 27368] - chore: move FileAPI/blob to .js files, a=testonly 2021-02-09 11:34:47 +00:00
IndexedDB Bug 1689701 [wpt PR 27394] - Replace most `.__proto__` with `Object.getPrototypeOf()`, a=testonly 2021-02-04 12:08:26 +00:00
WebCryptoAPI Bug 1685770 [wpt PR 27113] - Remove jimsch from WebCryptoAPI/META.yml, a=testonly 2021-01-14 13:34:04 +00:00
WebIDL Bug 1698525 [wpt PR 28078] - v8bindings: Fix indexed/named set on named properties object, a=testonly 2021-03-19 10:35:24 +00:00
accelerometer
accname
acid
ambient-light
animation-worklet Bug 1672651 [wpt PR 26200] - Remove worklets.idl and let tests depend on html.idl for worklets, a=testonly 2020-10-26 12:06:26 +00:00
annotation-model
annotation-protocol Bug 1659864 [wpt PR 25086] - Replace ===/!== in assert_true/false, a=testonly 2020-09-25 19:29:25 +00:00
annotation-vocab
apng
appmanifest Bug 1692689 [wpt PR 27620] - [appmanifest] Add CORS/CSP tests for icons and shortcuts, a=testonly 2021-02-22 16:08:13 +00:00
audio-output
background-fetch
badging Bug 1683833 [wpt PR 26983] - Add further META.yml files to ease specs to WPT mapping, a=testonly 2020-12-23 10:43:18 +00:00
battery-status
beacon Bug 1691099 [wpt PR 27512] - Reorganize and augment beacon wpt, a=testonly 2021-02-12 12:12:26 +00:00
bluetooth Bug 1685817 [wpt PR 27116] - Migrate WebBluetooth WPT to Mojo JS modules, a=testonly 2021-01-19 13:23:02 +00:00
clear-site-data
client-hints Bug 1683178 [wpt PR 26945] - [UA-CH] Rename Accept-CH tokens, a=testonly 2021-02-01 17:35:45 +00:00
clipboard-apis Bug 1692804 [wpt PR 27627] - Add manual wpt test for clipboard files, a=testonly 2021-03-08 15:13:00 +00:00
common Bug 1697709 [wpt PR 27956] - v8bindings: Enable the fix of cross origin window name visibility, a=testonly 2021-03-19 10:34:56 +00:00
compat Bug 1659864 [wpt PR 25086] - Replace ===/!== in assert_true/false, a=testonly 2020-09-25 19:29:25 +00:00
compression Bug 1688123 [wpt PR 27279] - Stop running compression detach tests on workers, a=testonly 2021-01-26 10:02:02 +00:00
conformance-checkers Bug 1693942 [wpt PR 27712] - fix: Trailing space in messages, a=testonly 2021-03-15 08:32:59 +00:00
console
contacts Bug 1690075 [wpt PR 27429] - Migrate remaining WPT to Mojo JS modules, a=testonly 2021-02-08 22:55:28 +00:00
content-dpr
content-index Bug 1683833 [wpt PR 26983] - Add further META.yml files to ease specs to WPT mapping, a=testonly 2020-12-23 10:43:18 +00:00
content-security-policy Bug 1695208 [wpt PR 27800] - CSP: Use policy container for policies forced by CSPEE, a=testonly 2021-03-20 03:59:27 +00:00
contenteditable
cookie-store Bug 1659864 [wpt PR 25086] - Replace ===/!== in assert_true/false, a=testonly 2020-09-25 19:29:25 +00:00
cookies Bug 1698621 [wpt PR 28066] - Add WPTs for URL-encoded cookie names and prefixes, a=testonly 2021-03-19 10:35:27 +00:00
core-aam
cors Bug 1460299 - Add content-length as a CORS-safelisted response header. r=valentin,baku 2021-02-15 12:51:33 +00:00
credential-management Bug 1673596 [wpt PR 26304] - [WebOTP] Prototyping WebOTP support in cross-origin iframes, a=testonly 2020-12-03 09:54:52 +00:00
css Bug 1681691 - Adjust font-family names used in WPT metrics-override tests to avoid spurious failures due to antialiasing in Gecko. r=emilio 2021-03-23 08:37:08 +00:00
custom-elements Bug 1699270 [wpt PR 28120] - Mechanically change my email address, a=testonly 2021-03-20 03:59:30 +00:00
custom-state-pseudo-class Bug 1687298 [wpt PR 27223] - Update interfaces/custom-state-pseudo-class.idl and test, a=testonly 2021-01-21 14:17:26 +00:00
delegated-ink
density-size-correction Bug 1674096 [wpt PR 26325] - JPEG decoder: Reading offsets from EXIF was off by two bytes., a=testonly 2020-11-04 10:10:09 +00:00
deprecation-reporting Bug 1683833 [wpt PR 26983] - Add further META.yml files to ease specs to WPT mapping, a=testonly 2020-12-23 10:43:18 +00:00
device-memory
docs Bug 1696980 [wpt PR 27897] - [docs] Add note on debugging fuzzy reftests using `wpt run`, a=testonly 2021-03-15 08:34:21 +00:00
document-policy Bug 1686813 [wpt PR 27192] - [Document Policy] Use document policy to control document-domain, a=testonly 2021-02-02 17:07:46 +00:00
dom Bug 1699270 [wpt PR 28120] - Mechanically change my email address, a=testonly 2021-03-20 03:59:30 +00:00
domparsing
domxpath Bug 1678114 [wpt PR 26564] - Mark some WPT tests as slow, a=testonly 2020-11-26 14:24:55 +00:00
dpub-aam
dpub-aria
editing Bug 1697078 - Make `Document#execCommand` and related methods never throw exceptions r=smaug 2021-03-16 21:33:07 +00:00
element-timing Bug 1676833 [wpt PR 26500] - Remove ResponseWriter.flush() and explicit_flush, a=testonly 2020-11-30 20:05:54 +00:00
encoding Bug 1692045 [wpt PR 27580] - TextDecoder: Passing explicit undefined to decode(), a=testonly 2021-02-15 11:35:20 +00:00
encoding-detection Bug 1678175 - Avoid detecting windows-1252 euro sign as GBK. r=m_kato 2020-11-29 08:07:45 +00:00
encrypted-media Bug 1666830 [wpt PR 25717] - Fix tests that return values to async_test in encrypted-media/, a=testonly 2020-09-25 19:29:33 +00:00
entries-api Bug 1692804 [wpt PR 27627] - Add manual wpt test for clipboard files, a=testonly 2021-03-08 15:13:00 +00:00
event-timing Bug 1696437 - Annotate more Android+nnt tests. r=mstange 2021-03-04 20:35:23 +00:00
eventsource Bug 1676833 [wpt PR 26500] - Remove ResponseWriter.flush() and explicit_flush, a=testonly 2020-11-30 20:05:54 +00:00
feature-policy Bug 1680574 [wpt PR 26748] - Remove support for setting sandbox flags via "allow", a=testonly 2020-12-14 09:48:26 +00:00
fetch Bug 1699416 [wpt PR 28129] - Fetch/XHR: test JSON parser, a=testonly 2021-03-20 03:59:27 +00:00
file-system-access Bug 1690345 [wpt PR 27445] - [FSA] Add ID feature to file picker, a=testonly 2021-02-15 11:35:17 +00:00
focus Bug 1677474 - Part 3: Trigger blur steps when window needs to adjust its focused element; r=hsivonen 2021-03-02 10:17:16 +00:00
font-access Bug 1688917 [wpt PR 27335] - FontAccess: Style as a required attribute, a=testonly 2021-02-02 17:07:53 +00:00
fonts Bug 1682529 [wpt PR 26904] - [resource-timing] Fix negative duration case, a=testonly 2021-01-09 06:16:55 +00:00
forced-colors-mode Bug 1687049 [wpt PR 27206] - Stop-color, flood-color, and lighting-color in forced colors mode, a=testonly 2021-01-22 04:14:06 +00:00
fullscreen Bug 1659864 [wpt PR 25086] - Replace ===/!== in assert_true/false, a=testonly 2020-09-25 19:29:25 +00:00
gamepad Bug 1662076 [wpt PR 25290] - Small cleanup of Gamepad tests, a=testonly 2020-11-11 16:39:14 +00:00
generic-sensor Bug 1690075 [wpt PR 27429] - Migrate remaining WPT to Mojo JS modules, a=testonly 2021-02-08 22:55:28 +00:00
geolocation-API Bug 1675418 [wpt PR 26405] - geolocation: Fix PositionOptions.https.html, a=testonly 2020-11-11 16:39:06 +00:00
geolocation-sensor Bug 1683680 [wpt PR 26970] - Add/Fix META.yml files to ease specs to WPT mapping, a=testonly 2020-12-22 17:26:21 +00:00
graphics-aam
gyroscope
hr-time Bug 1674254 - Inside a WebWorker context, calling performance.addEventListener throws a generic NS_ERROR_FAILURE, r=barret 2020-11-20 22:39:58 +00:00
html Bug 1697657 [wpt PR 28011] - Create canvasFilter class and interface, a=testonly 2021-03-20 15:03:05 +00:00
html-longdesc
html-media-capture
idle-detection Bug 1675508 [wpt PR 26414] - Add interfaces/idle-detection.idl and update test, a=testonly 2021-02-16 12:57:46 +00:00
imagebitmap-renderingcontext
images
import-maps Bug 1685822 [wpt PR 27117] - [Import Maps] Add tests for rejecting multiple import maps, a=testonly 2021-01-19 13:22:53 +00:00
inert
infrastructure Bug 1697009 [wpt PR 27900] - Use test_driver.send_keys instead of test_driver.Actions.keyDown/Up, a=testonly 2021-03-15 08:34:34 +00:00
input-device-capabilities Bug 1683680 [wpt PR 26970] - Add/Fix META.yml files to ease specs to WPT mapping, a=testonly 2020-12-22 17:26:21 +00:00
input-events Bug 1677566 - part 3: Ignore non-deletable ranges in `HTMLEditor::HandleDeleteSelection()` r=m_kato 2021-03-09 23:57:54 +00:00
installedapp Bug 1684023 [wpt PR 26997] - Target additional specs in META.yml files, a=testonly 2021-01-07 20:05:24 +00:00
interfaces Bug 1698695 [wpt PR 28059] - StorageBuckets: Remove title policy, a=testonly 2021-03-19 10:35:33 +00:00
intersection-observer Bug 1682915 - Deal with root == target in intersection observer code. r=dholbert 2021-02-11 14:08:06 +00:00
intervention-reporting Bug 1683833 [wpt PR 26983] - Add further META.yml files to ease specs to WPT mapping, a=testonly 2020-12-23 10:43:18 +00:00
is-input-pending Bug 1683833 [wpt PR 26983] - Add further META.yml files to ease specs to WPT mapping, a=testonly 2020-12-23 10:43:18 +00:00
js Bug 1684023 [wpt PR 26997] - Target additional specs in META.yml files, a=testonly 2021-01-07 20:05:24 +00:00
js-self-profiling Bug 1683833 [wpt PR 26983] - Add further META.yml files to ease specs to WPT mapping, a=testonly 2020-12-23 10:43:18 +00:00
keyboard-lock Bug 1683680 [wpt PR 26970] - Add/Fix META.yml files to ease specs to WPT mapping, a=testonly 2020-12-22 17:26:21 +00:00
keyboard-map Bug 1659864 [wpt PR 25086] - Replace ===/!== in assert_true/false, a=testonly 2020-09-25 19:29:25 +00:00
largest-contentful-paint Bug 1679319 [wpt PR 26648] - [LargestContentfulPaint] Fix invisible image tracking, a=testonly 2020-11-30 20:06:06 +00:00
layout-instability Bug 1699504 [wpt PR 28137] - CLS test for inline direction shift into view and scroll, a=testonly 2021-03-20 03:59:32 +00:00
lifecycle Bug 1699270 [wpt PR 28120] - Mechanically change my email address, a=testonly 2021-03-20 03:59:30 +00:00
loading Bug 1598613 - Account for <link media=""> for speculative loads of stylesheet and preload links. r=hsivonen 2021-02-01 08:03:57 +00:00
longtask-timing Bug 1679024 [wpt PR 26614] - [LongTasks] Truncate duration to 1 ms resolution, a=testonly 2020-12-07 09:26:04 +00:00
magnetometer
mathml Bug 1693889 [wpt PR 27711] - Children of MathML containers always establish a new FC., a=testonly 2021-03-08 15:13:10 +00:00
measure-memory Bug 1686553 [wpt PR 27166] - Rename performance.measureMemory, a=testonly 2021-01-19 13:23:09 +00:00
media Bug 1680543 [wpt PR 26743] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=219493, a=testonly 2021-03-08 15:13:16 +00:00
media-capabilities Bug 1683680 [wpt PR 26970] - Add/Fix META.yml files to ease specs to WPT mapping, a=testonly 2020-12-22 17:26:21 +00:00
media-feeds
media-playback-quality
media-source Bug 1681440 [wpt PR 26811] - [MSE][WebCodecs] WSBI::AppendChunks through parser, plus e2e test, a=testonly 2020-12-17 13:30:59 +00:00
mediacapture-depth
mediacapture-fromelement Bug 1631476 - Add WPT checking that HTMLCanvasElement doesn't capture a frame on getImageData. r=jib 2020-10-19 11:57:29 +00:00
mediacapture-image Bug 1690075 [wpt PR 27429] - Migrate remaining WPT to Mojo JS modules, a=testonly 2021-02-08 22:55:28 +00:00
mediacapture-insertable-streams Bug 1698789 [wpt PR 28099] - Reland "Reland "Add WebPlatformTests for Insertable Media Streams"", a=testonly 2021-03-19 10:35:37 +00:00
mediacapture-record Bug 1692971 [wpt PR 27638] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=221916, a=testonly 2021-02-22 16:08:06 +00:00
mediacapture-streams Bug 1677110 [wpt PR 26522] - Update interfaces/mediacapture-streams.idl and test, a=testonly 2020-11-18 08:42:51 +00:00
mediasession Bug 1683680 [wpt PR 26970] - Add/Fix META.yml files to ease specs to WPT mapping, a=testonly 2020-12-22 17:26:21 +00:00
merchant-validation Bug 1679277 [wpt PR 26644] - [merchant-validation] Rename an incorrectly named test, a=testonly 2020-11-30 20:05:57 +00:00
mimesniff
mixed-content Bug 1692454 [wpt PR 27604] - Stricter mixed content check for blob and filesystem URLs, a=testonly 2021-02-16 12:57:42 +00:00
mst-content-hint
native-io Bug 1697795 [wpt PR 28026] - NativeIO: Disalllow use on opaque origins, a=testonly 2021-03-19 10:35:11 +00:00
navigation-timing Bug 1666559 [wpt PR 25679] - Added navigation-timing/nav2_test_redirect_chain_xserver_final_original_origin, a=testonly 2020-09-25 19:29:27 +00:00
netinfo
network-error-logging Bug 1692478 [wpt PR 27607] - Clear reports in WPT collector when queried., a=testonly 2021-02-16 12:57:36 +00:00
notifications
old-tests Bug 1672163 - Microsoft/history/history_000.htm should not rely on a 50ms timer, r=annyG 2020-10-20 18:17:11 +00:00
orientation-event Bug 1690075 [wpt PR 27429] - Migrate remaining WPT to Mojo JS modules, a=testonly 2021-02-08 22:55:28 +00:00
orientation-sensor
origin-policy Bug 1683833 [wpt PR 26983] - Add further META.yml files to ease specs to WPT mapping, a=testonly 2020-12-23 10:43:18 +00:00
page-lifecycle Bug 1683833 [wpt PR 26983] - Add further META.yml files to ease specs to WPT mapping, a=testonly 2020-12-23 10:43:18 +00:00
page-visibility Bug 1659864 [wpt PR 25086] - Replace ===/!== in assert_true/false, a=testonly 2020-09-25 19:29:25 +00:00
paint-timing Bug 1698926 [wpt PR 28106] - [PaintTiming] Fix document notified by SVG paints, a=testonly 2021-03-19 10:35:40 +00:00
payment-handler
payment-method-basic-card
payment-method-id
payment-request Bug 1688307 [wpt PR 27292] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=220872, a=testonly 2021-02-01 17:35:50 +00:00
performance-timeline
periodic-background-sync
permissions
permissions-policy Bug 1691059 [wpt PR 27508] - [Permissions Policy] Add WPT test on history navigation on opaque origin, a=testonly 2021-02-15 11:35:16 +00:00
permissions-request Bug 1683833 [wpt PR 26983] - Add further META.yml files to ease specs to WPT mapping, a=testonly 2020-12-23 10:43:18 +00:00
permissions-revoke Bug 1683833 [wpt PR 26983] - Add further META.yml files to ease specs to WPT mapping, a=testonly 2020-12-23 10:43:18 +00:00
picture-in-picture Bug 1686668 [wpt PR 27185] - [Picture-in-Picture] Do not pause PiP video when removed from document, a=testonly 2021-01-22 04:13:57 +00:00
pointerevents Bug 1697009 [wpt PR 27900] - Use test_driver.send_keys instead of test_driver.Actions.keyDown/Up, a=testonly 2021-03-15 08:34:34 +00:00
pointerlock Bug 1659864 [wpt PR 25086] - Replace ===/!== in assert_true/false, a=testonly 2020-09-25 19:29:25 +00:00
portals Bug 1693313 [wpt PR 27658] - Portals: Deflake autofocus tests, a=testonly 2021-03-08 15:12:49 +00:00
preload Bug 1694202 - Avoid link preload header and the parser creating two preload requests for the same script. r=smaug 2021-02-23 00:43:37 +00:00
presentation-api Bug 1659864 [wpt PR 25086] - Replace ===/!== in assert_true/false, a=testonly 2020-09-25 19:29:25 +00:00
priority-hints
proximity
push-api
quirks Bug 1689701 [wpt PR 27394] - Replace most `.__proto__` with `Object.getPrototypeOf()`, a=testonly 2021-02-04 12:08:26 +00:00
raw-sockets Bug 1688869 [wpt PR 27330] - Direct Sockets: Move transient activation consumption from renderer to browser., a=testonly 2021-02-02 17:08:02 +00:00
referrer-policy Bug 1694635 [wpt PR 27760] - Add WPT for referrer policy inheritance to popup, a=testonly 2021-03-15 08:34:07 +00:00
remote-playback
reporting Bug 1692478 [wpt PR 27607] - Clear reports in WPT collector when queried., a=testonly 2021-02-16 12:57:36 +00:00
requestidlecallback Bug 1678114 [wpt PR 26564] - Mark some WPT tests as slow, a=testonly 2020-11-26 14:24:55 +00:00
resize-observer
resource-timing Bug 1699559 [wpt PR 28140] - [ResourceTiming]: Migrate redirects(.sub).html WPT, a=testonly 2021-03-20 03:59:34 +00:00
resources Bug 1698839 [wpt PR 28102] - Remove ES6 ...spread from assert_wrapper() and AssertRecord(), a=testonly 2021-03-20 03:59:39 +00:00
sanitizer-api Bug 1664485 - Rename Sanitizer API tests to require SecureContext r=jgraham 2021-02-19 11:41:24 +00:00
savedata Bug 1683833 [wpt PR 26983] - Add further META.yml files to ease specs to WPT mapping, a=testonly 2020-12-23 10:43:18 +00:00
screen-capture Bug 1675891 test for rejected promise from getDisplayMedia() in a discarded browsing context r=jib 2020-11-16 11:56:31 +00:00
screen-orientation
screen-wake-lock Bug 1668783 [wpt PR 25946] - wake lock: Make |type| optional in WakeLock.request()., a=testonly 2020-10-20 13:24:33 +00:00
screen_enumeration Bug 1692053 [wpt PR 27581] - Window Placement: Implement Screens and ScreenAdvanced interfaces, a=testonly 2021-03-15 08:33:47 +00:00
scroll-animations Bug 1699848 [wpt PR 28157] - Prepare web_tests for Paint Holding Cross Origin, a=testonly 2021-03-21 04:45:51 +00:00
scroll-to-text-fragment Bug 1699035 [wpt PR 28115] - Fix scroll-to-text-fragment behavior for same-document navigation, a=testonly 2021-03-20 03:59:23 +00:00
secure-contexts
secure-payment-confirmation Bug 1678114 [wpt PR 26564] - Mark some WPT tests as slow, a=testonly 2020-11-26 14:24:55 +00:00
selection Bug 1698705 - Fix bogus block-frame check in GetRangeForFrame. r=saschanaz 2021-03-16 16:03:13 +00:00
serial Bug 1690075 [wpt PR 27429] - Migrate remaining WPT to Mojo JS modules, a=testonly 2021-02-08 22:55:28 +00:00
server-timing
service-workers Bug 1699015 [wpt PR 28114] - PlzDedicatedWorker: Add and record a new WebFeature, a=testonly 2021-03-20 15:03:07 +00:00
shadow-dom Bug 1699270 [wpt PR 28120] - Mechanically change my email address, a=testonly 2021-03-20 03:59:30 +00:00
shape-detection Bug 1690075 [wpt PR 27429] - Migrate remaining WPT to Mojo JS modules, a=testonly 2021-02-08 22:55:28 +00:00
signed-exchange Bug 1692938 [wpt PR 27637] - Increase timeout of openSXGInIframeAndWaitForMessage, a=testonly 2021-02-22 16:08:12 +00:00
speech-api Bug 1683680 [wpt PR 26970] - Add/Fix META.yml files to ease specs to WPT mapping, a=testonly 2020-12-22 17:26:21 +00:00
storage Bug 1681857 [wpt PR 26846] - StorageBuckets: Initial browser implementation, a=testonly 2021-02-08 22:55:29 +00:00
storage-access-api Bug 1683680 [wpt PR 26970] - Add/Fix META.yml files to ease specs to WPT mapping, a=testonly 2020-12-22 17:26:21 +00:00
streams Bug 1699767 [wpt PR 28153] - Streams: add missing asserts in tee test, a=testonly 2021-03-21 04:45:51 +00:00
subresource-integrity Bug 1673018 [wpt PR 26260] - Remove Signature-based Resource Loading Restrictions, a=testonly 2020-11-04 10:09:51 +00:00
svg Bug 1699420 [wpt PR 28130] - Deflake svg/animations/animate-reset-freeze.html, a=testonly 2021-03-20 03:59:29 +00:00
svg-aam
timing-entrytypes-registry Bug 1683680 [wpt PR 26970] - Add/Fix META.yml files to ease specs to WPT mapping, a=testonly 2020-12-22 17:26:21 +00:00
tools Bug 1698825 [wpt PR 28070] - Update pycodestyle to 2.7.0, a=testonly 2021-03-19 10:35:36 +00:00
touch-events Bug 1693364 [wpt PR 27664] - Fix flaky test /touch-events/multi-touch-interfaces.html in upstream WPT, a=testonly 2021-03-19 10:35:30 +00:00
trust-tokens Bug 1668024 [wpt PR 25841] - Remove 'signed' from send-srr and srr-token-redemption., a=testonly 2020-11-11 16:39:17 +00:00
trusted-types Bug 1698712 [wpt PR 28095] - bind-gen: Apply ToV8Traits to IDL nullable types in IDL interface, a=testonly 2021-03-20 03:59:23 +00:00
ua-client-hints Bug 1683833 [wpt PR 26983] - Add further META.yml files to ease specs to WPT mapping, a=testonly 2020-12-23 10:43:18 +00:00
uievents Bug 1700138 - Make wpt keyboard-accesskey-click-event.html pass on Mac; r=masayuki 2021-03-23 00:49:39 +00:00
upgrade-insecure-requests
url Bug 1694414 [wpt PR 27742] - [URL] Add tests for the distinct percent-encode sets, a=testonly 2021-03-15 08:33:09 +00:00
urlpattern Bug 1698598 [wpt PR 28082] - URLPattern: Compile regexp with `u` flag., a=testonly 2021-03-19 10:35:38 +00:00
user-timing Bug 1685168 [wpt PR 27053] - fix: make user-timing/mark strict mode compatible, a=testonly 2021-01-26 10:02:03 +00:00
vibration Bug 1659864 [wpt PR 25086] - Replace ===/!== in assert_true/false, a=testonly 2020-09-25 19:29:25 +00:00
video-rvfc Bug 1688837 [wpt PR 27327] - Set capture_time_begin to reference time if missing, a=testonly 2021-02-02 17:08:02 +00:00
visual-viewport
wai-aria
wasm Bug 1686755 - Add support for optional parameters in WebAssembly.Table API. r=lth 2021-01-22 22:39:34 +00:00
web-animations Bug 1659864 [wpt PR 25086] - Replace ===/!== in assert_true/false, a=testonly 2020-09-25 19:29:25 +00:00
web-bundle Bug 1698764 [wpt PR 28049] - Test CSP behavior for resources from Subresource WebBundles, a=testonly 2021-03-19 10:35:21 +00:00
web-locks Bug 1659864 [wpt PR 25086] - Replace ===/!== in assert_true/false, a=testonly 2020-09-25 19:29:25 +00:00
web-nfc Bug 1690075 [wpt PR 27429] - Migrate remaining WPT to Mojo JS modules, a=testonly 2021-02-08 22:55:28 +00:00
web-otp Bug 1683833 [wpt PR 26983] - Add further META.yml files to ease specs to WPT mapping, a=testonly 2020-12-23 10:43:18 +00:00
web-share Bug 1667023 [wpt PR 25755] - Web Share: restrict URL scheme to http and https, a=testonly 2020-09-25 19:29:47 +00:00
webaudio Bug 1691067 [wpt PR 27509] - Convert AudioParam NaN values to the default value, a=testonly 2021-02-12 12:12:10 +00:00
webauthn Bug 1678713 [wpt PR 26597] - Reland "webauthn: move create credential tests for residentKey/credProps to WPT", a=testonly 2020-11-30 20:05:43 +00:00
webcodecs Bug 1699519 [wpt PR 28057] - Add AudioFrame serialization, a=testonly 2021-03-20 03:59:32 +00:00
webdriver Bug 1695283 [wpt PR 27805] - Remove unused variable and move reset session to a function, a=testonly 2021-03-15 08:34:18 +00:00
webgl
webgpu
webhid Bug 1683833 [wpt PR 26983] - Add further META.yml files to ease specs to WPT mapping, a=testonly 2020-12-23 10:43:18 +00:00
webmessaging Bug 1659864 [wpt PR 25086] - Replace ===/!== in assert_true/false, a=testonly 2020-09-25 19:29:25 +00:00
webmidi
webrtc Bug 1688909 [wpt PR 27334] - webrtc wpt: add test for video clockrate, a=testonly 2021-03-19 10:35:08 +00:00
webrtc-extensions Bug 1696992 [wpt PR 27874] - Add RTCRtpSynchronizationSource-helper.js for abs-capture-time tests, a=testonly 2021-03-15 08:34:27 +00:00
webrtc-ice Bug 1692443 [wpt PR 27603] - move webrtc icetransport extension tests to separate directory, a=testonly 2021-03-15 08:33:46 +00:00
webrtc-identity Bug 1683680 [wpt PR 26970] - Add/Fix META.yml files to ease specs to WPT mapping, a=testonly 2020-12-22 17:26:21 +00:00
webrtc-insertable-streams Bug 1683833 [wpt PR 26983] - Add further META.yml files to ease specs to WPT mapping, a=testonly 2020-12-23 10:43:18 +00:00
webrtc-priority Bug 1683833 [wpt PR 26983] - Add further META.yml files to ease specs to WPT mapping, a=testonly 2020-12-23 10:43:18 +00:00
webrtc-stats Bug 1691982 [wpt PR 27571] - Add test to measure which WebRTC stats are provided at all, a=testonly 2021-03-08 15:13:15 +00:00
webrtc-svc Bug 1683833 [wpt PR 26983] - Add further META.yml files to ease specs to WPT mapping, a=testonly 2020-12-23 10:43:18 +00:00
websockets Bug 1695079 [wpt PR 27790] - Wpt flags h2, a=testonly 2021-03-20 03:59:40 +00:00
webstorage
webtransport Bug 1692802 [wpt PR 27626] - Fix a link in WPT quic handler README, a=testonly 2021-02-16 12:57:42 +00:00
webusb Bug 1699299 [wpt PR 28122] - usb: Support devices without interfaces in macOS backend, a=testonly 2021-03-20 03:59:43 +00:00
webvr
webvtt
webxr Bug 1699579 [wpt PR 28143] - WebXR depth: fix data type mismatch between spec/idl and implementation, a=testonly 2021-03-20 03:59:40 +00:00
window-segments
workers Bug 1693766 [wpt PR 27699] - No dynamic import in service worker, a=testonly 2021-03-15 08:33:10 +00:00
worklets Bug 1662459 [wpt PR 25331] - Worklets: use idl_test and .any.js, a=testonly 2021-02-02 17:08:27 +00:00
x-frame-options Bug 1684023 [wpt PR 26997] - Target additional specs in META.yml files, a=testonly 2021-01-07 20:05:24 +00:00
xhr Bug 1699416 [wpt PR 28129] - Fetch/XHR: test JSON parser, a=testonly 2021-03-20 03:59:27 +00:00
xslt
.azure-pipelines.yml Bug 1690050 [wpt PR 27427] - Fix #19620: add an option to wptrunner to stop Safari, a=testonly 2021-02-09 11:34:34 +00:00
.codecov.yml
.gitattributes
.gitignore
.mailmap
.pyup.yml
.taskcluster.yml Bug 1661542 [wpt PR 25263] - WebKitGTK: rework how the minibrowser is downloaded on the CI (TaskCluster) and add weekly runs for beta channel, a=testonly 2020-10-08 10:17:57 +00:00
CODEOWNERS
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE.md
README.md Bug 1672530 [wpt PR 26187] - [docs] Relocate recommendation on git usage, a=testonly 2020-10-26 12:06:11 +00:00
lint.ignore Bug 1681691 - Adjust font-family names used in WPT metrics-override tests to avoid spurious failures due to antialiasing in Gecko. r=emilio 2021-03-23 08:37:08 +00:00
testharness_runner.html
update-built-tests.sh
wpt Bug 1690036 [wpt PR 27426] - [wpt] Reject python versions <3.6, a=testonly 2021-02-04 12:08:24 +00:00
wpt.py

README.md

The web-platform-tests Project

Taskcluster CI Status documentation manifest Python 3

The web-platform-tests Project is a cross-browser test suite for the Web-platform stack. Writing tests in a way that allows them to be run in all browsers gives browser projects confidence that they are shipping software that is compatible with other implementations, and that later implementations will be compatible with their implementations. This in turn gives Web authors/developers confidence that they can actually rely on the Web platform to deliver on the promise of working across browsers and devices without needing extra layers of abstraction to paper over the gaps left by specification editors and implementors.

The most important sources of information and activity are:

  • github.com/web-platform-tests/wpt: the canonical location of the project's source code revision history and the discussion forum for changes to the code
  • web-platform-tests.org: the documentation website; details how to set up the project, how to write tests, how to give and receive peer review, how to serve as an administrator, and more
  • wpt.live: a public deployment of the test suite, allowing anyone to run the tests by visiting from an Internet-enabled browser of their choice
  • wpt.fyi: an archive of test results collected from an array of web browsers on a regular basis
  • Real-time chat room: the IRC chat room named #testing on irc.w3.org; includes participants located around the world, but busiest during the European working day; all discussion is archived here
  • Mailing list: a public and low-traffic discussion list
  • RFCs: a repo for requesting comments on substantial changes that would impact other stakeholders or users; people who work on WPT infra are encouraged to watch the repo.

If you'd like clarification about anything, don't hesitate to ask in the chat room or on the mailing list.

Setting Up the Repo

Clone or otherwise get https://github.com/web-platform-tests/wpt.

Note: because of the frequent creation and deletion of branches in this repo, it is recommended to "prune" stale branches when fetching updates, i.e. use git pull --prune (or git fetch -p && git merge).

Running the Tests

See the documentation website and in particular the system setup for running tests locally.

Command Line Tools

The wpt command provides a frontend to a variety of tools for working with and running web-platform-tests. Some of the most useful commands are:

  • wpt serve - For starting the wpt http server
  • wpt run - For running tests in a browser
  • wpt lint - For running the lint against all tests
  • wpt manifest - For updating or generating a MANIFEST.json test manifest
  • wpt install - For installing the latest release of a browser or webdriver server on the local machine.
  • wpt serve-wave - For starting the wpt http server and the WAVE test runner. For more details on how to use the WAVE test runner see the documentation.

Windows Notes

On Windows wpt commands must be prefixed with python or the path to the python binary (if python is not in your %PATH%).

python wpt [command]

Alternatively, you may also use Bash on Ubuntu on Windows in the Windows 10 Anniversary Update build, then access your windows partition from there to launch wpt commands.

Please make sure git and your text editor do not automatically convert line endings, as it will cause lint errors. For git, please set git config core.autocrlf false in your working tree.

Publication

The master branch is automatically synced to 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.

Contributing

Save the Web, Write Some Tests!

Absolutely everyone is welcome to contribute to test development. No test is too small or too simple, especially if it corresponds to something for which you've noted an interoperability bug in a browser.

The way to contribute is just as usual:

  • Fork this repository (and make sure you're still relatively in sync with it if you forked a while ago).
  • Create a branch for your changes: git checkout -b topic.
  • Make your changes.
  • Run ./wpt lint as described above.
  • Commit locally and push that to your repo.
  • Create a pull request based on the above.

Issues with web-platform-tests

If you spot an issue with a test and are not comfortable providing a pull request per above to fix it, please file a new issue. Thank you!