Skip to content

fix(extension): explain debugger detach caused by foreign frames - #43815

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

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

Conversation

@microsoft-playwright-automation

Copy link
Copy Markdown
Contributor

Chrome detaches the debugger when another extension injects an extension-origin frame. Preserve that frame's URL as the page close reason, propagate it to client-side waiters, and stop swallowing closed-page failures while waiting for load. Handle an empty tab list without a secondary TypeError, and document Chrome's restriction and the site-access workaround.

The existing scheme-detach tests use one extension; this regression needs a second unpacked extension at browser launch, so it requires a separate test.

Verified the regression fails without the fix and passes with it, including a following navigation. All 43 extension tests, 14 MCP tab/snapshot-mode tests, page-close tests on all three engines, build, and flint pass.

Fixes #43230

Prepared by the triage workflow.

@github-actions

Copy link
Copy Markdown
Contributor

Test results for "MCP"

5194 passed, 616 skipped


Merge workflow run.

@github-actions

Copy link
Copy Markdown
Contributor

Test results for "tests 1"

23630 passed, 705 skipped


Merge workflow 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

0 participants