Skip to content

Conversation

dgozman
Copy link
Contributor

@dgozman dgozman commented Jul 29, 2025

When two clients call newContextForReuse(), either from multiple connections, or from a single connection + debug controller, they might end up creating two contexts or closing each other's contexts.

Browser assumes only a single reused context, so it avoids problems by queueing operations.

Exposed by flaky VSCode extension tests.

When two clients call `newContextForReuse()`, either from
multiple connections, or from a single connection + debug controller,
they might end up creating two contexts or closing each other's contexts.

Browser assumes only a single reused context, so it avoids
problems by queueing operations.

Exposed by flaky VSCode extension tests.
Copy link
Contributor

Test results for "tests 1"

7 flaky ⚠️ [chromium-library] › library/chromium/oopif.spec.ts:284:3 › should click @chromium-ubuntu-22.04-node22
⚠️ [firefox-library] › library/inspector/cli-codegen-1.spec.ts:1079:7 › cli codegen › should not throw csp directive violation errors @firefox-ubuntu-22.04-node18
⚠️ [firefox-library] › library/tracing.spec.ts:262:5 › should not include trace resources from the previous chunks @firefox-ubuntu-22.04-node18
⚠️ [playwright-test] › ui-mode-test-output.spec.ts:80:5 › should show console messages for test @ubuntu-latest-node22-1
⚠️ [chromium] › headerView.spec.tsx:46:1 › should toggle filters @web-components-html-reporter
⚠️ [webkit-library] › library/trace-viewer.spec.ts:789:1 › should handle src=blob @webkit-ubuntu-22.04-node18
⚠️ [webkit-page] › page/page-screenshot.spec.ts:345:5 › page screenshot › should work while navigating @webkit-ubuntu-22.04-node18

46539 passed, 804 skipped
✔️✔️✔️

Merge workflow run.

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