playwright/packages/playwright-core/src/utils
itchyny 440f5e5d2b
fix: collect all errors in removeFolders (#28239)
This PR fixes
https://github.com/microsoft/playwright/pull/27790#pullrequestreview-1738958803.
Previously this function returns only the first error when some of the
promises fail. But the type annotation suggests that the original
intention was to collect all the errors. This commit fixes the error
values, and unexpected `TypeError: object is not iterable`.
2023-11-20 10:58:10 +01:00
..
isomorphic chore: make asLocator() always safe (#28207) 2023-11-16 16:31:34 -08:00
ascii.ts fix: encode launch options correctly when reusing browser (#24174) 2023-07-12 16:40:55 +02:00
comparators.ts chore: validate expected image buffer when comparing images (#23030) 2023-05-15 23:32:16 +02:00
crypto.ts chore: merge the util exports (#20110) 2023-01-13 13:50:38 -08:00
debug.ts chore(ui): start adding ui mode tests (#21601) 2023-03-12 15:18:47 -07:00
DEPS.list feat: implement a new image comparison function (#19166) 2022-12-02 15:22:05 -08:00
env.ts feat: display package manager in CLI help and tips (#26450) 2023-08-17 08:53:08 -07:00
eventsHelper.ts chore: always import type (#13365) 2022-04-06 14:57:14 -07:00
fileUtils.ts fix: collect all errors in removeFolders (#28239) 2023-11-20 10:58:10 +01:00
glob.ts fix: properly handle character sets in globs (#24371) 2023-07-24 09:49:05 -07:00
happy-eyeballs.ts Fix various typos (Fixes #27396) (#27391) 2023-10-04 19:56:42 -07:00
headers.ts chore: merge the util exports (#20110) 2023-01-13 13:50:38 -08:00
hostPlatform.ts fix: ubuntu version detection for linux mint (#28085) 2023-11-13 18:02:10 +01:00
httpServer.ts chore: make trace viewer work over http (#23531) 2023-06-05 16:30:30 -07:00
index.ts test: add libsoup3 related tests (#26572) 2023-08-21 22:12:12 +02:00
linuxUtils.ts chore: add support for debian 11 downloads (#15596) 2022-07-13 04:09:24 -07:00
manualPromise.ts chore: remove the usages of raw target closed message constant (#27669) 2023-10-17 15:35:41 -07:00
mimeType.ts fix(store): support text and binary values (#21006) 2023-03-01 08:49:31 -08:00
multimap.ts fix: make viewer reference all trace urls (#16561) 2022-08-15 20:54:57 -07:00
network.ts chore: roll TypeScript to 5.2.2 (#26977) 2023-09-11 18:18:19 +02:00
processLauncher.ts chore: get rid of rimraf package (#27790) 2023-10-26 19:41:00 +02:00
profiler.ts feat: support PWTEST_PROFILE_DIR in run-server (#21582) 2023-03-10 19:07:40 -08:00
rtti.ts chore: merge the util exports (#20110) 2023-01-13 13:50:38 -08:00
spawnAsync.ts test: add installation tests for supposed plugin story (#27331) 2023-09-28 17:18:22 -07:00
stackTrace.ts chore: unify target closed errors (#27540) 2023-10-12 11:05:34 -07:00
task.ts chore: merge the util exports (#20110) 2023-01-13 13:50:38 -08:00
time.ts fix: make sure monotonicTime() value is reasonable (#24518) 2023-07-31 09:42:08 -07:00
timeoutRunner.ts chore: show last poller error on test timeout (#24292) 2023-07-18 17:03:26 -07:00
traceUtils.ts fix(ui): do not log from beforeAll twice (#26799) 2023-08-31 17:34:15 -07:00
userAgent.ts feat: check client version on the server (#27585) 2023-10-13 21:02:30 -07:00
zipFile.ts chore(har): allow replaying from zip har (#14962) 2022-06-17 16:11:22 -07:00
zones.ts chore: make client-side instrumentation non-nullable (#22694) 2023-04-28 08:57:43 -07:00