Skip to content

test(proxy): use a hostname that is exempt from https upgrades - #43454

Merged
Yury Semikhatsky (yury-s) merged 1 commit into
microsoft:mainfrom
dgozman:test-proxy-upgrade-exempt-host
Oct 16, 2026
Merged

Yury Semikhatsky (yury-s) merged 1 commit into
microsoft:mainfrom
dgozman:test-proxy-upgrade-exempt-host

Conversation

@dgozman

@dgozman Dmitry Gozman (dgozman) commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Chromium 158 enables HTTPS-First balanced mode by default, which upgrades http:// navigations to public-looking hostnames and blocks the fallback with net::ERR_BLOCKED_BY_CLIENT.
  • Switch the proxied hostname in the proxy tests from non-existent.com to non-existent.test, which Chromium never upgrades, so the tests keep exercising plain http through the proxy in headed mode.

See also https://github.com/microsoft/playwright-browsers/pull/2591.

Chromium 158 enables HTTPS-First balanced mode by default. It upgrades
http:// navigations to public-looking hostnames and blocks the fallback
to http:// with net::ERR_BLOCKED_BY_CLIENT. Hostnames under the reserved
.test domain are never upgraded, so the proxy tests keep exercising
plain http through the proxy in headed mode.
@github-actions

Copy link
Copy Markdown
Contributor

Test results for "MCP"

5154 passed, 614 skipped


Merge workflow run.

@github-actions

Copy link
Copy Markdown
Contributor

Test results for "tests 1"

4 flaky ⚠️ [playwright-test] › ui-mode-trace.spec.ts:827 › should update state on subsequent run `@playwright-x64-server2025-64-core-node22`
⚠️ [chromium-library] › library/video.spec.ts:762 › screencast › should work with video+trace `@chromium-playwright-x64-ubuntu24-64-core-node22`
⚠️ [firefox-library] › library/browsercontext-cookies-third-party.spec.ts:257 › third party 'Partitioned;' cookies `@firefox-playwright-x64-ubuntu24-64-core-node22`
⚠️ [firefox-library] › library/browsercontext-cookies-third-party.spec.ts:470 › top level 'Partitioned;' cookie and same origin iframe `@firefox-playwright-x64-ubuntu24-64-core-node22`

23558 passed, 710 skipped


Merge workflow run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants