playwright/tests
Max Schmitt 92eb8e5090
chore: make connectOverCDP work with localhost (#20396)
This wraps happy eyeballs in two places, the place where we make the
JSON request to Chromium and the actual CDP WebSocket request.

It required changes inside our happy eyeballs implementation since the
[websocket library does not
set](https://github.com/websockets/ws/blob/master/lib/websocket.js#L714)
the `clientRequestOptions.hostname` field, it just sets the `host` field
where we then fall back to when its not set.

This test would pass before Node.js 18 and fail after Node.js 18 without
my changes.

Fixes https://github.com/microsoft/playwright/issues/20364
2023-01-30 17:44:26 +01:00
..
android chore: fix Android tests (#19426) 2022-12-15 07:56:57 +01:00
assets chore: fix typos (#20473) 2023-01-30 09:53:28 +01:00
components test(ct): react vite slice by feature (#20098) 2023-01-13 18:15:43 -08:00
config feat(trace-viewer): allow host and port to be specified (#20258) 2023-01-27 14:20:25 -08:00
electron chore: merge the util exports (#20110) 2023-01-13 13:50:38 -08:00
image_tools chore: fix typos (#20473) 2023-01-30 09:53:28 +01:00
installation test: update stale test expectations (#20423) 2023-01-27 21:52:34 -08:00
library chore: make connectOverCDP work with localhost (#20396) 2023-01-30 17:44:26 +01:00
page test: submit form with target=_blank (#20462) 2023-01-30 08:37:05 -08:00
playwright-test chore: fix typos (#20473) 2023-01-30 09:53:28 +01:00
stress chore: fix typos (#20473) 2023-01-30 09:53:28 +01:00
webview2 fix(electron): stall node while browser is starting (#18804) 2022-11-14 22:01:54 -08:00
index.d.ts test: added tests for WebSocket over Socks proxy (#7235) 2021-06-24 18:50:16 +02:00
tsconfig.json chore: move protocol and trace types into the top-level packages (#17486) 2022-09-20 18:41:51 -07:00