Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(chromium): continue requests paused for the second time #27429

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

dgozman
Copy link
Contributor

@dgozman dgozman commented Oct 4, 2023

Sometimes Chromium restarts requests. This leads to multiple Fetch.requestPaused for a single Network.requestWillBeSent.

Fixes #27294.

Sometimes Chromium restarts requests. This leads to multiple
`Fetch.requestPaused` for a single `Network.requestWillBeSent`.
@github-actions
Copy link
Contributor

github-actions bot commented Oct 4, 2023

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

12 flaky ⚠️ [chromium] › library/tracing.spec.ts:239:5 › should not include trace resources from the previous chunks
⚠️ [chromium] › page/page-event-request.spec.ts:130:3 › should report navigation requests and responses handled by service worker with routing
⚠️ [chromium] › 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
⚠️ [chromium] › page/page-event-request.spec.ts:101:3 › should report navigation requests and responses handled by service worker
⚠️ [firefox] › page/frame-goto.spec.ts:46:3 › should continue after client redirect
⚠️ [chromium] › library/tracing.spec.ts:239:5 › should not include trace resources from the previous chunks
⚠️ [chromium] › components/splitView.spec.tsx:65:5 › drag resize
⚠️ [webkit] › library/browsercontext-reuse.spec.ts:50:1 › should reset serviceworker
⚠️ [webkit] › library/tracing.spec.ts:239:5 › should not include trace resources from the previous chunks
⚠️ [webkit] › page/page-goto.spec.ts:266:3 › should fail when navigating to bad SSL
⚠️ [webkit] › page/page-goto.spec.ts:277:3 › should fail when navigating to bad SSL after redirects

25794 passed, 606 skipped
✔️✔️✔️

Merge workflow run.

@yury-s yury-s merged commit d426f2f into microsoft:main Oct 4, 2023
27 of 28 checks passed
dgozman added a commit to dgozman/playwright that referenced this pull request Oct 9, 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`
dgozman added a commit that referenced this pull request Oct 10, 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.
Germandrummer92 pushed a commit to OctoMind-dev/playwright that referenced this pull request Oct 27, 2023
…t#27429)

Sometimes Chromium restarts requests. This leads to multiple
`Fetch.requestPaused` for a single `Network.requestWillBeSent`.

Fixes microsoft#27294.
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.

[BUG] Fonts do not applied in Chromium if use page.route() before mount()
2 participants