playwright/packages/playwright-core
Max Schmitt 64e4a9b0eb cherry-pick(#31913): fix(client-certificates): use matching origin for connections on :443
Motivation: When using client-certificates on a website on port `443`,
we would normalise the user input with `new URL` but still generate a
"bad" representation of the "origin" internally, since the just do
concatenated "host:port".

(The origin doesn't contain the port in case of :443)

We use `clientCertificatesToTLSOptions` in two places:

a) for APIRequestContext, there we pass one from the URL constructor
over and
b) from the socks proxy, there we **now** also pass a "good one" over.

Test plan: We don't want to run the tests on port :443, so only manually
validated the fix.

Relates https://github.com/microsoft/playwright/issues/31906
2024-07-30 12:31:50 +02:00
..
bin feat: support client certificates (#31529) 2024-07-12 11:42:24 +02:00
bundles chore: bump ws to 8.17.1 in the utils bundle (#31384) 2024-06-19 15:11:54 -07:00
src cherry-pick(#31913): fix(client-certificates): use matching origin for connections on :443 2024-07-30 12:31:50 +02:00
types cherry-pick(#31893): chore: add maxRetries to APIRequestContext.delete 2024-07-29 14:53:27 +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 chore: update WebKit version to 18.0 (#31873) 2024-07-26 11:32:51 +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 v1.46.0-next (#31324) 2024-06-14 18:22:42 -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 chore: bump ws to 8.17.1 in the utils bundle (#31384) 2024-06-19 15:11:54 -07:00

playwright-core

This package contains the no-browser flavor of Playwright.