Version
1.58.0
Steps to reproduce
- Clone https://github.com/tarungunampalli1/playwright-minimal-repro
- run
yarn test or npm test
- See
Error: response.json: Protocol error (Network.getResponseBody): Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIStreamListener.onDataAvailable]
Expected behavior
I expect to see the response body parsed into JSON
Actual behavior
Trying to get response.json() fails with an error
Additional context
NOTE!!!
This is a duplicate of #39020 (comment). The previous issue was closed prematurely and the repro included in the response did not include the actual failure case. I'm opening a duplicate issue as closed issues aren't monitored.
Environment
System:
OS: macOS 26.2
CPU: (12) arm64 Apple M3 Pro
Memory: 1.14 GB / 36.00 GB
Binaries:
Node: 23.11.0 - /Users/tarun.gunampalli/.proto/tools/node/23.11.0/bin/node
Yarn: 4.5.0 - /Users/tarun.gunampalli/.proto/shims/yarn
npm: 10.9.2 - /Users/tarun.gunampalli/.proto/tools/node/23.11.0/bin/npm
pnpm: 9.15.3 - /Users/tarun.gunampalli/.nvm/versions/node/v20.20.0/bin/pnpm
IDEs:
VSCode: 1.108.2 - /usr/local/bin/code
Cursor: 2.0.69 - /usr/local/bin/cursor
Claude Code: 2.0.76 - /Users/tarun.gunampalli/.local/bin/claude
opencode: 1.1.40 - /Users/tarun.gunampalli/.opencode/bin/opencode
Languages:
Bash: 3.2.57 - /bin/bash
npmPackages:
@playwright/test: ^1.58.0 => 1.58.0
This was also reproducible on my repo CI, which runs on linux
Version
1.58.0
Steps to reproduce
yarn testornpm testError: response.json: Protocol error (Network.getResponseBody): Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIStreamListener.onDataAvailable]Expected behavior
I expect to see the response body parsed into JSON
Actual behavior
Trying to get response.json() fails with an error
Additional context
NOTE!!!
This is a duplicate of #39020 (comment). The previous issue was closed prematurely and the repro included in the response did not include the actual failure case. I'm opening a duplicate issue as closed issues aren't monitored.
Environment
System: OS: macOS 26.2 CPU: (12) arm64 Apple M3 Pro Memory: 1.14 GB / 36.00 GB Binaries: Node: 23.11.0 - /Users/tarun.gunampalli/.proto/tools/node/23.11.0/bin/node Yarn: 4.5.0 - /Users/tarun.gunampalli/.proto/shims/yarn npm: 10.9.2 - /Users/tarun.gunampalli/.proto/tools/node/23.11.0/bin/npm pnpm: 9.15.3 - /Users/tarun.gunampalli/.nvm/versions/node/v20.20.0/bin/pnpm IDEs: VSCode: 1.108.2 - /usr/local/bin/code Cursor: 2.0.69 - /usr/local/bin/cursor Claude Code: 2.0.76 - /Users/tarun.gunampalli/.local/bin/claude opencode: 1.1.40 - /Users/tarun.gunampalli/.opencode/bin/opencode Languages: Bash: 3.2.57 - /bin/bash npmPackages: @playwright/test: ^1.58.0 => 1.58.0 This was also reproducible on my repo CI, which runs on linux