playwright/packages/playwright-core/src/server/chromium
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
..
appIcon.png chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
chromium.ts chore: make connectOverCDP work with localhost (#20396) 2023-01-30 17:44:26 +01:00
chromiumSwitches.ts fix(electron): stall node while browser is starting (#18804) 2022-11-14 22:01:54 -08:00
crAccessibility.ts chore: move protocol and trace types into the top-level packages (#17486) 2022-09-20 18:41:51 -07:00
crApp.ts chore: allow toggling recorder/traceviewer color modes (#18718) 2022-11-10 17:20:09 -08:00
crBrowser.ts fix(chromium): detach from shared workers (#18976) 2022-11-22 15:20:42 -08:00
crConnection.ts fix(chromium): Add error message to asset when there is one. (#15892) 2022-07-28 14:45:25 -07:00
crCoverage.ts chore: move protocol and trace types into the top-level packages (#17486) 2022-09-20 18:41:51 -07:00
crDevTools.ts chore: always import type (#13365) 2022-04-06 14:57:14 -07:00
crDragDrop.ts chore: use utils via index export (3) (#13403) 2022-04-07 13:55:44 -07:00
crExecutionContext.ts fix: better formatting for sparse arrays (#20379) 2023-01-27 05:07:55 -08:00
crInput.ts chore: use utils via index export (3) (#13403) 2022-04-07 13:55:44 -07:00
crNetworkManager.ts fix: ignore timing data when request served from memory cache (#17595) 2022-09-26 17:12:47 -07:00
crPage.ts chore: allow not overriding media when creating context (#18413) 2022-10-31 09:09:52 -07:00
crPdf.ts chore: move protocol and trace types into the top-level packages (#17486) 2022-09-20 18:41:51 -07:00
crProtocolHelper.ts chore: use utils via index export (5) (#13413) 2022-04-07 20:18:22 -07:00
crServiceWorker.ts feat(route): match pattern on the server side (#20410) 2023-01-27 10:43:19 -08:00
defaultFontFamilies.ts fix(chromium): work around about:blank issue on Chromium (#14068) 2022-05-10 20:32:19 +01:00
protocol.d.ts feat(chromium): roll to r1044 (#20137) 2023-01-16 13:44:28 +01:00
videoRecorder.ts fix(video): do not produce frames much faster than desired fps (#18228) 2022-10-21 14:30:14 -07:00