Skip to content

fix(route): avoid recursive dispatch during route action waits - #2072

Draft
microsoft-playwright-automation[bot] wants to merge 1 commit into
mainfrom
triage/2068/45360708960-1
Draft

microsoft-playwright-automation[bot] wants to merge 1 commit into
mainfrom
triage/2068/45360708960-1

Conversation

@microsoft-playwright-automation

Copy link
Copy Markdown
Contributor

Route-action acknowledgment waits pump the connection and recursively enter queued route handlers. Defer route events during these waits and process them in order in the normal message pump, while continuing to process replies and close events. Synchronous driver errors remain observable.

Extend the existing equal-request test with a simultaneous 3000-request burst. It overflows without the fix on all three browsers; the routing suites pass with the fix (404 invocations, 16 existing skips).

Fixes #2068

Triaged on macOS by the Playwright bot - agent run

This branch has not been deployed

No deployments
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]: StackOverflowError when a page makes thousands of requests under a route

0 participants