playwright/packages/playwright-core/src/server
Simon Knott 9a6f03eb87
fix(fetch): listener leaks on Socket (#32956)
Closes https://github.com/microsoft/playwright/issues/32951

`node:http` reuses TCP Sockets under the hood. We weren't cleaning up
our listeners, leading to the `MaxListenersExceededWarning`.

This PR adds cleanup logic. It also raises the warning threshhold, so
that it doesn't trigger until there's 100 concurrent requests over the
same socket.
2024-10-07 18:43:25 +02:00
..
android chore: introduce option overrides on context/browser (#32606) 2024-09-13 17:34:34 +02:00
bidi feat(trace): highlight strict mode violation elements in the snapshot (#32893) 2024-10-02 00:00:45 -07:00
chromium fix(chromium): reset mouse position upon page reuse (#32944) 2024-10-03 08:09:00 -07:00
codegen chore: move actions types to recorder (#32839) 2024-09-26 14:50:09 -07:00
dispatchers test: fix android tests (#32932) 2024-10-03 03:37:43 -07:00
electron chore: introduce option overrides on context/browser (#32606) 2024-09-13 17:34:34 +02:00
firefox feat(trace): highlight strict mode violation elements in the snapshot (#32893) 2024-10-02 00:00:45 -07:00
har feat(har): record serverIPAddress for API requests (#32660) 2024-09-18 14:51:42 +02:00
injected fix(trace viewer): clear old highlighted elements upon change (#32917) 2024-10-02 23:48:26 -07:00
isomorphic chore: make sure error stack includes message as before #31691 (#31934) 2024-07-31 10:58:37 -07:00
recorder chore: unflake 'should record' (#32880) 2024-09-30 20:32:04 +02:00
registry feat(webkit): roll to r2083 (#32813) 2024-09-26 21:49:02 +02:00
trace fix(trace viewer): clear old highlighted elements upon change (#32917) 2024-10-02 23:48:26 -07:00
webkit feat(trace): highlight strict mode violation elements in the snapshot (#32893) 2024-10-02 00:00:45 -07:00
accessibility.ts chore: move protocol and trace types into the top-level packages (#17486) 2022-09-20 18:41:51 -07:00
artifact.ts chore: split error to client and server sides (#27672) 2023-10-17 21:34:02 -07:00
browser.ts feat(client-certificates): add support for proxies (#32611) 2024-09-16 17:57:33 +02:00
browserContext.ts feat: do not record route calls in the trace (#32723) 2024-09-21 10:17:59 -07:00
browserType.ts chore(bidi): launch firefox with user prefs tailored for testing (#32817) 2024-09-25 18:17:07 -07:00
clock.ts chore: introduce helpers for non-stalling eval on page/context (#31658) 2024-07-12 02:26:16 -07:00
console.ts feat(electron): expose ElectronApplication console events (#29322) 2024-02-05 21:30:54 +01:00
cookieStore.ts chore: cookies in intercepted bidi requests (#32623) 2024-09-13 18:29:35 -07:00
debugController.ts chore: allow starting recorder in traceviewer (#32741) 2024-09-20 15:25:49 -07:00
debugger.ts fix(pause): ignore page.pause on the server (#23417) 2023-06-02 08:32:30 -07:00
DEPS.list chore: identify largest gaps in Bidi API (#32434) 2024-09-04 11:36:52 -07:00
deviceDescriptors.ts chore: make NodeSnapshot type recursive and more (#30619) 2024-05-08 11:08:40 -07:00
deviceDescriptorsSource.json feat(chromium): roll to r1140 (#32949) 2024-10-04 11:14:08 +02:00
dialog.ts chore: iterate towards recording into trace (3) (#32718) 2024-09-20 13:08:33 -07:00
dom.ts feat: wait for pending navigation to resolve before many actions (#32899) 2024-10-04 07:25:18 -07:00
download.ts chore: iterate towards recording into trace (3) (#32718) 2024-09-20 13:08:33 -07:00
errors.ts chore: split error to client and server sides (#27672) 2023-10-17 21:34:02 -07:00
fetch.ts fix(fetch): listener leaks on Socket (#32956) 2024-10-07 18:43:25 +02:00
fileChooser.ts chore: always import type (#13365) 2022-04-06 14:57:14 -07:00
fileUploadUtils.ts feat: allow folder uploads (#31165) 2024-06-12 22:20:18 +02:00
formData.ts chore: move protocol and trace types into the top-level packages (#17486) 2022-09-20 18:41:51 -07:00
frames.ts fix: throw when element handle is detached while waiting for selector (#32961) 2024-10-04 08:23:25 -07:00
frameSelectors.ts fix: add missing await in adoptIfNeeded (#32497) 2024-09-06 13:17:32 -07:00
helper.ts fix(connect): include websocket close reason in the error message (#30203) 2024-04-01 21:05:33 -07:00
index.ts chore: prepare to reuse test server from ui mode (#29965) 2024-03-18 09:50:11 -07:00
input.ts chore: remove browser-specific bidi hacks (#32498) 2024-09-06 16:40:24 -07:00
instrumentation.ts feat(trace): highlight strict mode violation elements in the snapshot (#32893) 2024-10-02 00:00:45 -07:00
javascript.ts feat(trace): highlight strict mode violation elements in the snapshot (#32893) 2024-10-02 00:00:45 -07:00
launchApp.ts chore: prefer executablePath for page.pause() (#31985) 2024-08-02 11:18:51 +02:00
macEditingCommands.ts feat(keyboard): support simple cut-pasting using meta+x/v (#18756) 2022-11-29 12:58:14 -08:00
network.ts chore: identify largest gaps in Bidi API (#32434) 2024-09-04 11:36:52 -07:00
page.ts feat: wait for pending navigation to resolve before many actions (#32899) 2024-10-04 07:25:18 -07:00
pipeTransport.ts fix(connect): include websocket close reason in the error message (#30203) 2024-04-01 21:05:33 -07:00
playwright.ts chore: split firefox and chromium bidi implementations (#32478) 2024-09-05 18:31:56 -07:00
progress.ts feat(trace): highlight strict mode violation elements in the snapshot (#32893) 2024-10-02 00:00:45 -07:00
protocolError.ts chore: push protocol error conversion to dispatcher (#27608) 2023-10-16 13:13:00 -07:00
recorder.ts chore: update trace event on action merge (#32860) 2024-09-27 21:18:30 -07:00
screenshotter.ts chore: introduce helpers for non-stalling eval on page/context (#31658) 2024-07-12 02:26:16 -07:00
selectors.ts fix(locator): locator(locator) method uses internal:chain instead of >> (#24235) 2023-07-14 12:21:45 -07:00
socksClientCertificatesInterceptor.ts fix(har timing): record connect timing for proxied connections (#32855) 2024-10-07 09:59:13 +02:00
socksInterceptor.ts chore: fix all Proxy() to account for symbol properties (#21272) 2023-02-28 12:45:14 -08:00
transport.ts fix(connect): include websocket close reason in the error message (#30203) 2024-04-01 21:05:33 -07:00
types.ts chore: introduce option overrides on context/browser (#32606) 2024-09-13 17:34:34 +02:00
usKeyboardLayout.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00