gecko-dev/testing/web-platform/tests
Domenic Denicola dfd8274e1f Bug 1564618 [wpt PR 17421] - KV Storage: add timeout=long and reenable disabled test, a=testonly
Automatic update from web-platform-tests
KV Storage: add timeout=long and reenable disabled test

Like several IndexedDB tests, KV Storage can cause timeouts unless given more time.

BUG=936615

Change-Id: I8069d77088625b32867a5ebcc9ce69c4810a18ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1670621
Reviewed-by: Joshua Bell <jsbell@chromium.org>
Commit-Queue: Domenic Denicola <domenic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671576}

--

wpt-commits: 88bac6b712530867081709212b365a6a01feee04
wpt-pr: 17421
2019-07-24 13:31:17 +01: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
BackgroundSync Bug 1561194 [wpt PR 17347] - [Background Sync] Periodic Background Sync idl, a=testonly 2019-07-24 13:31:04 +01:00
FileAPI Bug 1536000 [wpt PR 7494] - Add more tests for FileReader.result., a=testonly 2019-06-05 10:27:46 +01:00
IndexedDB Bug 1560875 [wpt PR 16436] - [IndexedDB] Promote test isolation, a=testonly 2019-07-24 13:30:12 +01:00
WebCryptoAPI Bug 1510941 [wpt PR 14291] - [WebCryptoAPI] Remove race condition, a=testonly 2018-12-14 13:54:49 +00:00
WebIDL Bug 1557428 [wpt PR 17209] - rm @tobie from META files, a=testonly 2019-06-19 11:06:44 -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
battery-status Bug 1536187 [wpt PR 14798] - Remove inactive reviewers, a=testonly 2019-04-01 14:43:38 +01:00
beacon Bug 1558947 [wpt PR 17300] - Allow browsers to block mixed content requests from cross-origin tests., a=testonly 2019-07-24 13:29:25 +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 1532667 [wpt PR 15631] - [csp] Wait for all tests to be defined, a=testonly 2019-07-24 13:30:11 +01:00
cookie-store Bug 1560874 [wpt PR 16415] - [cookie-store] Promote stability in test results, a=testonly 2019-07-24 13:30:12 +01: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 1564617 [wpt PR 17524] - Fix font size expectation, a=testonly 2019-07-24 13:31:14 +01:00
custom-elements Bug 1560869 [wpt PR 17377] - Add CEReactions and CustomElementCallbacks to toggleAttribute, a=testonly 2019-07-24 13:30:04 +01:00
device-memory Bug 1536187 [wpt PR 14798] - Remove inactive reviewers, a=testonly 2019-04-01 14:43:38 +01:00
docs Bug 1561406 [wpt PR 17369] - [docs] Simplify recommendation for advanced usage, a=testonly 2019-07-24 13:31:12 +01: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 1560901 [wpt PR 17388] - [ElementTiming] Add tests for generated and shadow text, a=testonly 2019-07-24 13:30:34 +01:00
encoding Bug 1561364 [wpt PR 17503] - Use consistent test naming in encoding/encodeInto.any.js, a=testonly 2019-07-24 13:31:11 +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 1561418 [wpt PR 17505] - Simplify EventSource bogus ctor tests, a=testonly 2019-07-24 13:31:13 +01: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 1561219 [wpt PR 17413] - Add sec-metadata test when updating a service worker, a=testonly 2019-07-24 13:31:15 +01:00
fonts Bug 1561220 [wpt PR 17486] - Add more tests for fraction gaps., a=testonly 2019-07-24 13:31:08 +01: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 1559494 [wpt PR 17498] - [Gecko Bug 1559494] disable new_window_null.tentative.html on android under the correct path, a=testonly 2019-07-24 13:31:13 +01: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
inert
infrastructure Bug 1560912 [wpt PR 17415] - Expect actionsWithKeyPressed.html to fail on Mac, a=testonly 2019-07-24 13:30:40 +01: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 1560924 [wpt PR 17423] - Update interfaces/webrtc.idl, a=testonly 2019-07-24 13:30:46 +01:00
intersection-observer Bug 1559230 [wpt PR 17323] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=198784, a=testonly 2019-07-24 13:29:36 +01: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 1564618 [wpt PR 17421] - KV Storage: add timeout=long and reenable disabled test, a=testonly 2019-07-24 13:31:17 +01:00
largest-contentful-paint Bug 1557479 [wpt PR 17214] - Implement basic LargestContentfulPaint API, a=testonly 2019-07-24 13:30:31 +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 1554083 [wpt PR 17463] - [Gecko Bug 1554083] [wpt PR 16992] - Revert "Frame freezing on load.", a=testonly, a=testonly 2019-07-24 13:31:03 +01:00
loading
longtask-timing Bug 1559346 [wpt PR 17344] - Convert Long Tasks API idlharness test to use `idl_test`, a=testonly 2019-07-24 13:29:50 +01: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 1561220 [wpt PR 17486] - Add more tests for fraction gaps., a=testonly 2019-07-24 13:31:08 +01: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 1559219 [wpt PR 17322] - MSE: Let external/wpt/.../mediasource-play have longer timeout, a=testonly 2019-07-24 13:29:39 +01: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 1556710 - Make MediaRecorder tests that are using gUM run in Firefox. r=jib 2019-07-01 09:54:26 +00:00
mediacapture-streams Bug 1562570 - Assert that constraints are supported before trying to use them. r=jib 2019-07-01 17:18:13 +00:00
mediasession Bug 1555420 [wpt PR 17078] - [Media Session] Implement stop action handler, a=testonly 2019-07-24 13:29:37 +01:00
mimesniff
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 1560932 [wpt PR 17364] - [Native File System] Create FileSystemFileWriterImpl to mirror the renderer side, a=testonly 2019-07-24 13:30:50 +01:00
navigation-timing Bug 1561203 [wpt PR 17438] - [Navigation Timing] secureConnectionStart should be non-zero, a=testonly 2019-07-24 13:31:09 +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 Bug 1558682 [wpt PR 17278] - Assert that `visibilitychange` event bubbles, a=testonly 2019-07-24 13:30:44 +01:00
paint-timing Bug 1536187 [wpt PR 14798] - Remove inactive reviewers, a=testonly 2019-04-01 14:43:38 +01:00
payment-handler Bug 1560885 [wpt PR 17399] - Mark a couple of manual payment-handler tests as manual, a=testonly 2019-07-24 13:30:21 +01: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 1560882 [wpt PR 17389] - Fix timeout in rejects_if_not_active.https.html, a=testonly 2019-07-24 13:30:18 +01: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 1560891 [wpt PR 17402] - Reland "Automate pointerevent pointerlock tests", a=testonly 2019-07-24 13:30:27 +01:00
pointerlock Bug 1534874 [wpt PR 15745] - Automate some pointerlock wpt, a=testonly 2019-04-01 14:43:26 +01:00
portals Bug 1560925 [wpt PR 17431] - Remove unused BroadcastChannel in portal-activate-data.html., a=testonly 2019-07-24 13:30:47 +01: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 1560872 [wpt PR 17381] - [LayoutNG] Skip "replaced % resolution" quirk on ortho-roots., a=testonly 2019-07-24 13:30:09 +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 1547533 - Update ResizeObserver tests on <img>. r=dholbert 2019-06-25 18:10:04 +00:00
resource-timing Bug 1557549 - Disable BFCache for navigate back tests r=smaug 2019-07-19 02:00:32 +00:00
resources Bug 1552418 [wpt PR 16864] - Update to webidl2.js@22.0.0, a=testonly 2019-07-24 13:30:58 +01: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 1555429 [wpt PR 16755] - Integrating ScrollTimeline with main thread WebAnimations., a=testonly 2019-07-24 13:30:07 +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 1560916 [wpt PR 17395] - Worker: Deflake worker-interception.https.html, a=testonly 2019-07-24 13:30:41 +01: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 1560937 [wpt PR 17392] - [shapedetection] Add some shapedetection tests, a=testonly 2019-07-24 13:30:51 +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 1559005 [wpt PR 17304] - SMS API: Clean up SMS API mojom interface, a=testonly 2019-07-24 13:30:24 +01:00
speech-api Bug 1551020 [wpt PR 16752] - Update SpeechSynthesisUtterance-volume-manual.html, a=testonly 2019-06-05 10:29:51 +01:00
std-toast Bug 1561221 [wpt PR 17487] - Change toast default duration to 3000ms, and shorten non-default timeout tests, a=testonly 2019-07-24 13:31:07 +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 1560893 [wpt PR 17394] - Refactor SRI script tests to prepare for Preload + SRI, a=testonly 2019-07-24 13:30:28 +01:00
svg Bug 1561163 [wpt PR 17452] - Improve failing condition of a test., a=testonly 2019-07-24 13:30:55 +01:00
svg-aam
timing-entrytypes-registry Bug 1558988 [wpt PR 17242] - Prevent fooling PerformanceObserver.supportedEntryTypes, a=testonly 2019-07-24 13:29:26 +01:00
tools Bug 1561187 [wpt PR 17460] - Update mypy to 0.711, a=testonly 2019-07-24 13:31:09 +01:00
touch-events
trusted-types Bug 1560880 [wpt PR 17382] - [Trusted Types] Add xlink:href trusted type checks to SMIL elements., a=testonly 2019-07-24 13:30:16 +01:00
uievents Bug 1557604 [wpt PR 16199] - Implement WheelEvent interface, a=testonly 2019-06-19 11:06:52 -07:00
upgrade-insecure-requests Bug 1558197 Adding more time to worker-subresource-fetch-redirect-upgrade r=ckerschb,jgraham 2019-07-22 12:33:07 +00: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 1557423 [wpt PR 17208] - [UserTimingL3] Replace SyntaxError with TypeError., a=testonly 2019-07-15 11:37:54 +00: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 1560913 [wpt PR 17349] - Optimize cubic bezier solver., a=testonly 2019-07-24 13:30:41 +01: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 1560906 [wpt PR 17425] - [webnfc] Remove incorrect test, a=testonly 2019-07-24 13:30:37 +01: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 Bug 1558611 [wpt PR 17461] - [Gecko Bug 1558611] [wpt PR 17233] - Active Processing for ConvolverNode, a=testonly, a=testonly 2019-07-24 13:31:02 +01:00
webauthn Bug 1541777 [wpt PR 16212] - Simplify the Web Authentication idlharness test, a=testonly 2019-06-05 10:25:04 +01:00
webdriver Bug 1525338 - Limit context menu behavior to macOS. r=maja_zf 2019-07-20 14:46:39 +00:00
webgl Bug 1528741 [wpt PR 15411] - Mark WebGL idlharness tests as slow, a=testonly 2019-03-16 12:12:50 +00:00
webmessaging Merge mozilla-inbound to mozilla-central. a=merge 2019-04-02 00:55:55 +03:00
webmidi
webrtc Bug 1555480 [wpt PR 17082] - Reland tests from "Change ICE connection state on transceiver changes", a=testonly 2019-07-24 13:29:52 +01: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 1560899 [wpt PR 17380] - WebSocket: stop removing an iframe in onerror from crashing, a=testonly 2019-07-24 13:30:32 +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 1558842 [wpt PR 17298] - Update some webvtt tests to load Ahem as a web font., a=testonly 2019-07-15 11:37:53 +00:00
webxr Bug 1561188 [wpt PR 17462] - Bring XRRay.matrix and XRRay constructors up to spec, a=testonly 2019-07-24 13:31:05 +01:00
workers Bug 1558591 [wpt PR 17272] - Prevent the error from triggering a page error in Worker-nested-importScripts-error, a=testonly 2019-07-24 13:29:27 +01: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 1558571 - Move HTMLDocument.all to Document; r=farre 2019-07-09 18:09:40 +00:00
.azure-pipelines.yml Bug 1561169 [wpt PR 17409] - [Azure Pipelines] put parenthesis pack in step names, a=testonly 2019-07-24 13:30:57 +01: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
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
README.md Bug 1561166 [wpt PR 17440] - Fix markdown to use powershell syntax highlighter, a=testonly 2019-07-24 13:30:56 +01: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
lint.whitelist Bug 1561189 [wpt PR 17465] - Revert "Insert a generated item after preserved spaces following a forced break", a=testonly 2019-07-24 13:31:01 +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

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.

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