Skip to content

fix(har): recognize .zip extensions regardless of case - #43550

Merged
Devin Rousso (dcrousso) merged 1 commit into
mainfrom
fix-43503
Oct 20, 2026
Merged

Devin Rousso (dcrousso) merged 1 commit into
mainfrom
fix-43503

Conversation

@dcrousso

Copy link
Copy Markdown
Contributor

Summary

  • case sensitive .zip checks save plain JSON under uppercase .ZIP paths
  • match the extension without regard to case when recording, exporting, and replaying HAR files
  • extend the existing round trip test to verify the archive and attached response bodies

fixes: #43503

prepared by the Playwright triage bot

uppercase `.ZIP` paths write plain HAR files instead of archives

match the extension without regard to case when recording and replaying HAR files
@github-actions

Copy link
Copy Markdown
Contributor

Test results for "MCP"

5189 passed, 614 skipped


Merge workflow run.

@github-actions

Copy link
Copy Markdown
Contributor

Test results for "tests 1"

2 flaky ⚠️ [chromium-library] › library/chromium/chromium.spec.ts:159 › CR-010 serviceWorker(), and fromServiceWorker() work `@chromium-playwright-x64-ubuntu24-64-core-node22`
⚠️ [firefox-page] › page/page-filechooser.spec.ts:293 › FC-020 should be able to reset selected files with empty file list `@firefox-playwright-x64-ubuntu24-64-core-node22`

23583 passed, 713 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.

[Bug]: recordHar and tracing.startHar do not recognize uppercase .ZIP extension and write plain json

2 participants