playwright/packages/playwright-core
Simon Knott de4a4d1ce1
fix(har timing): record connect timing for proxied connections (#32855)
Fixes a bug discovered in
https://github.com/microsoft/playwright/pull/32647. When using http
proxy, the `connect` event isn't emitted so we don't populate
`tcpConnectionAt`. The updated version of `https-proxy-agent` emits a
`proxyConnect` as a replacement, so this PR updates and listens to that
event.
For socks proxies, the `on("socket")` event is emitted once the SOCKS
connection is established, which is the equivalent of having a TCP
connection available.

---------

Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2024-10-07 09:59:13 +02:00
..
bin chore: generate self-signed certificates for socks proxy (#32192) 2024-08-16 20:21:05 +02:00
bundles fix(har timing): record connect timing for proxied connections (#32855) 2024-10-07 09:59:13 +02:00
src fix(har timing): record connect timing for proxied connections (#32855) 2024-10-07 09:59:13 +02:00
types fix(emulate media): document "no-preference" as deprecated (#32881) 2024-10-04 16:49:32 +02:00
.eslintrc.js chore: strengthen linting (#29669) 2024-02-26 16:52:28 -08:00
.npmignore fix(client-certificates): include socks-certs in npm package (#31872) 2024-07-26 11:04:38 +02:00
browsers.json feat(chromium): roll to r1140 (#32949) 2024-10-04 11:14:08 +02:00
cli.js chore: split cli processing into cli endpoint and program (#29131) 2024-01-23 15:22:09 -08:00
index.d.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
index.js chore: refactored minimum Node Major version to variable (#24188) 2023-07-18 19:57:48 +02:00
index.mjs fix: export request from index.jsm (#13158) 2022-03-30 09:35:47 -07:00
package.json chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
README.md chore: drop dependency on playwright-core in all our packages (#2318) 2020-05-21 13:18:15 -07:00
ThirdPartyNotices.txt fix(har timing): record connect timing for proxied connections (#32855) 2024-10-07 09:59:13 +02:00

playwright-core

This package contains the no-browser flavor of Playwright.