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

feat: wait for active route handlers on page/context close #28414

Merged
merged 2 commits into from Dec 5, 2023

Conversation

yury-s
Copy link
Member

@yury-s yury-s commented Nov 30, 2023

Reference #23781

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

packages/playwright-core/src/client/browserContext.ts Outdated Show resolved Hide resolved
packages/playwright-core/src/client/browserContext.ts Outdated Show resolved Hide resolved
packages/playwright-core/src/client/network.ts Outdated Show resolved Hide resolved
packages/playwright-core/src/client/network.ts Outdated Show resolved Hide resolved
packages/playwright-core/src/client/network.ts Outdated Show resolved Hide resolved
packages/playwright-core/src/client/page.ts Outdated Show resolved Hide resolved
packages/playwright-core/src/client/page.ts Outdated Show resolved Hide resolved
packages/playwright-core/src/client/page.ts Outdated Show resolved Hide resolved
docs/src/api/class-browsercontext.md Outdated Show resolved Hide resolved
tests/page/page-request-continue.spec.ts Outdated Show resolved Hide resolved

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

yury-s added a commit that referenced this pull request Dec 4, 2023
…#28484)

Previously we were wrongly firing `route` event for the request which
are not in fact intercepted (e.g. requests from service worker).

Related #28414
Reference #23781
Copy link
Contributor

github-actions bot commented Dec 4, 2023

Test results for "tests 1"

6 flaky ⚠️ [chromium] › library/tracing.spec.ts:239:5 › should not include trace resources from the previous chunks
⚠️ [firefox] › library/tracing.spec.ts:239:5 › should not include trace resources from the previous chunks
⚠️ [playwright-test] › ui-mode-test-ct.spec.ts:151:5 › should watch test
⚠️ [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] › library/tracing.spec.ts:239:5 › should not include trace resources from the previous chunks

26277 passed, 614 skipped
✔️✔️✔️

Merge workflow run.

@yury-s yury-s merged commit 74e51d3 into microsoft:main Dec 5, 2023
30 checks passed
@yury-s yury-s deleted the route-auto-remove branch December 5, 2023 00:19
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.

None yet

2 participants