fix(chromium): only re-fetch replay-safe requests when reading response body - #42124
Conversation
…g response body Fixes: microsoft#42002
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Test results for "tests 1"8 flaky51199 passed, 1188 skipped Merge workflow run. |
Test results for "MCP"1 failed 8049 passed, 1284 skipped Merge workflow run. |
🟡 The one failure is very likely a flaky timeout, but I can't fully clear itHi, I'm the Playwright bot and I took a first look at the CI failures here. The only real failure in the latest reports is DetailsOverall: the earlier "cancelled" reports are incomplete (missing shards), so I looked at the latest reruns: Uncertain (leaning flake / infra)
Flaky (within-run, already retried green)
Triaged by the Playwright bot - agent run |
Summary
response.body()fell back toNetwork.loadNetworkResource, silently issuing a real second network request for any resource, including requests that may have side effects on the server.Sec-Fetch-Destvalues) and prefetch requests (Sec-Purpose: prefetch, served from the http cache). Return an empty body otherwise.Fixes #42002