Skip to content

fix(chromium): avoid premature continue of redirects#27520

Merged
dgozman merged 1 commit intomicrosoft:mainfrom
dgozman:cr-network-redirect-continue
Oct 10, 2023
Merged

fix(chromium): avoid premature continue of redirects#27520
dgozman merged 1 commit intomicrosoft:mainfrom
dgozman:cr-network-redirect-continue

Conversation

@dgozman
Copy link
Contributor

@dgozman dgozman commented Oct 9, 2023

This has recently regressed in #27429.

We now continue requests that are paused for the second time. However, redirects share networkId with the original request, so we may confuse paused redirect with a second pause for the original request.

This is covered by the flaky test page-route.spec.ts:392 > should work with redirects for subresources
References #27294.

This has recently regressed in microsoft#27429.
We now continue requests that are paused for the second time.

However, redirects share `networkId` with the original request, so we
may confuse paused redirect with a second pause for the original request.

This is covered by the flaky test
`page-route.spec.ts:392 > should work with redirects for subresources`
@github-actions
Copy link
Contributor

Test results for "tests 1"

1 failed
❌ [playwright-test] › reporter-html.spec.ts:705:5 › created › should use file-browser friendly extensions for buffer attachments based on contentType

6 flaky ⚠️ [chromium] › library/tracing.spec.ts:239:5 › should not include trace resources from the previous chunks
⚠️ [chromium] › library/video.spec.ts:351:5 › screencast › should capture navigation
⚠️ [firefox] › library/tracing.spec.ts:239:5 › should not include trace resources from the previous chunks
⚠️ [chromium] › library/tracing.spec.ts:239:5 › should not include trace resources from the previous chunks
⚠️ [webkit] › library/browsercontext-reuse.spec.ts:50:1 › should reset serviceworker
⚠️ [webkit] › page/page-wait-for-navigation.spec.ts:85:3 › should work with clicking on links which do not commit navigation

25848 passed, 603 skipped
✔️✔️✔️

Merge workflow run.

@dgozman dgozman merged commit 2407041 into microsoft:main Oct 10, 2023
Germandrummer92 pushed a commit to OctoMind-dev/playwright that referenced this pull request Oct 27, 2023
This has recently regressed in microsoft#27429.

We now continue requests that are paused for the second time. However,
redirects share `networkId` with the original request, so we may confuse
paused redirect with a second pause for the original request.

This is covered by the flaky test `page-route.spec.ts:392 > should work
with redirects for subresources`
References microsoft#27294.
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