Closed Bug 1636980 Opened 5 years ago Closed 1 year ago

Implement Target.setAutoAttach

Categories

(Remote Protocol :: CDP, task, P2)

task

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: whimboo, Unassigned)

References

Details

(Whiteboard: [puppeteer-beta2-mvp])

Used by Puppeteer, Playwright, and parts of Gutenberg. Might be important to have.

We will run Guteberg tests soon with all the upcoming improvements over the nexts, and will re-prioritize if necessary.

As given by Joel this is used all over the place in Playwright to attach a script via Page.addScriptToEvaluateOnNewDocument as soon as possible. Here a short description as it should behave:

Controls whether to automatically attach to new targets which are considered to be related to this one. When turned on, attaches to all existing related targets as well. When turned off, automatically detaches from all currently attached targets

To prevent race conditions on the page, we should get this implemented.

Blocks: 1549534
Priority: P3 → P2
Blocks: 1638743
Whiteboard: [puppeteer-beta-reserve] → [puppeteer-beta2-mvp]
Component: CDP: Page → CDP
Severity: normal → S3

We are not going to implement this API for CDP.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.