Skip to content

[Bug]: Chromium, Firefox - Cookies are not properly set/unset during redirect when network interceptor touches headers #35154

@zuzusik

Description

@zuzusik

Version

1.51.0

Steps to reproduce

  1. Clone repo at https://github.com/zuzusik/playwright-route-headers-cookie-issue
  2. Follow steps in repo's README.md

Expected behavior

Cookies are properly set/unset. Look at screenshots in repo's README.md.

Actual behavior

Chromium: cookie is not unset

Firefox: cookie is not set

Additional context

No response

Environment

Can reproduce locally on MacOS 15.3.1, as well as in Docker on latest Ubuntu. It seems like the issue is platform independent

Node version is 20.10.0, but I doubt it matters.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions