playwright/packages/playwright-core/src/server
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
chromium chore: make connectOverCDP work with localhost (#20396) 2023-01-30 17:44:26 +01:00
dispatchers feat(route): match pattern on the server side (#20410) 2023-01-27 10:43:19 -08:00
electron chore(electron): move loader to be preload (#19650) 2022-12-22 17:28:08 -08:00
firefox feat: roll Firefox and Firefox-Beta to latest builds (#20449) 2023-01-27 09:31:45 -08:00
har chore: merge the util exports (#20110) 2023-01-13 13:50:38 -08:00
injected chore: remove toIntersectViewport for the next release (#20232) 2023-01-19 15:04:09 -08:00
isomorphic fix: do not write to stdout on cssTokenizer parse error (#20012) 2023-01-12 19:10:01 +01:00
recorder feat(route): match pattern on the server side (#20410) 2023-01-27 10:43:19 -08:00
registry chore: support Debian 11 arm64 (#19676) 2023-01-23 15:54:25 +01:00
trace feat(trace-viewer): allow host and port to be specified (#20258) 2023-01-27 14:20:25 -08:00
webkit feat(webkit): roll to r1784 (#20466) 2023-01-30 08:36:02 -08: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: use utils via index export (5) (#13413) 2022-04-07 20:18:22 -07:00
browser.ts fix(reuse): stop pending operations upon reuse/disconnect (#18997) 2022-11-22 15:21:20 -08:00
browserContext.ts feat(route): match pattern on the server side (#20410) 2023-01-27 10:43:19 -08:00
browserType.ts chore: move protocol and trace types into the top-level packages (#17486) 2022-09-20 18:41:51 -07:00
console.ts chore: always import type (#13365) 2022-04-06 14:57:14 -07:00
cookieStore.ts fix: override cookie even if new is expired (#17998) 2022-10-11 23:06:16 -07:00
debugController.ts fix(inspector): support custom test id attribute (#18996) 2022-11-29 11:43:47 -08:00
debugger.ts chore: simplify slowmo implementation (#18990) 2022-11-22 11:06:45 -08:00
DEPS.list chore: make bundles typed (#13620) 2022-04-18 17:50:25 -07:00
deviceDescriptors.js chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
deviceDescriptorsSource.json feat(chromium): roll to r1046 (#20397) 2023-01-26 16:55:45 +01:00
dialog.ts chore: make handle beforeunload when reusing the context (#18357) 2022-10-26 15:17:40 -07:00
dom.ts fix(hit target): account for iframes with padding (#19732) 2022-12-27 16:59:34 -08:00
download.ts chore: use utils via index export (3) (#13403) 2022-04-07 13:55:44 -07:00
fetch.ts chore: merge the util exports (#20110) 2023-01-13 13:50:38 -08:00
fileChooser.ts chore: always import type (#13365) 2022-04-06 14:57:14 -07: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 on tap when hasTouch=false (#20457) 2023-01-27 15:51:57 -08:00
happy-eyeballs.ts chore: make connectOverCDP work with localhost (#20396) 2023-01-30 17:44:26 +01:00
helper.ts chore: truncate long protocol logs (#20412) 2023-01-27 04:58:13 -08:00
index.ts chore: make parent scope explicit (#16819) 2022-08-25 11:58:41 -07:00
input.ts chore: simplify slowmo implementation (#18990) 2022-11-22 11:06:45 -08:00
instrumentation.ts chore: enable debug controller testing (#18270) 2022-10-24 16:19:58 -07:00
javascript.ts fix: better formatting for sparse arrays (#20379) 2023-01-27 05:07:55 -08:00
macEditingCommands.ts feat(keyboard): support simple cut-pasting using meta+x/v (#18756) 2022-11-29 12:58:14 -08:00
network.ts feat(route): match pattern on the server side (#20410) 2023-01-27 10:43:19 -08:00
page.ts fix(reuse): make sure all dispose and close sequences are executed (#19572) 2022-12-19 15:54:53 -08:00
pipeTransport.ts fix(pipe): do not store accumulated message as string (#16641) 2022-08-18 07:53:56 -07:00
playwright.ts chore: render typed locators in the recorder (#18162) 2022-10-18 16:39:58 -07:00
progress.ts chore: refactor frame.expect to not use rerunnable task (#19626) 2022-12-21 15:31:08 -08:00
protocolError.ts chore: move some files out of server/common (#11466) 2022-01-18 19:13:51 -08:00
recorder.ts fix(codegen): do not generate Promise.all (#19182) 2022-12-02 17:33:01 -08:00
screenshotter.ts fix: inject caret-hiding style in every shadow tree (#16907) 2022-09-08 09:50:08 -07:00
selectors.ts chore: use provided value for the generated test id (#18631) 2022-11-08 12:04:43 -08:00
socksInterceptor.ts feat(connect): allow exposing local network to the remote browser (experimental) (#19372) 2022-12-09 11:16:29 -08:00
transport.ts chore: make connectOverCDP work with localhost (#20396) 2023-01-30 17:44:26 +01:00
types.ts chore: allow not overriding media when creating context (#18413) 2022-10-31 09:09:52 -07:00
usKeyboardLayout.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00