Open Bug 1637064 Opened 4 years ago Updated 4 years ago

Implement Page.close

Categories

(Remote Protocol :: CDP, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: impossibus, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [puppeteer-beta2-mvp])

Used by Puppeteer, Playwright, Datadog...

Puppeteer only uses it when closing a tab by running the beforeunload handlers. Otherwise Target.closeTarget is used:

https://searchfox.org/mozilla-central/rev/446160560bf32ebf4cb7c4e25d7386ee22667255/remote/test/puppeteer/lib/Page.js#1040-1042

Given that this method is also experimental i don't think this should block any MVP unless we have confidence that it is used by consumers.

Priority: -- → P3
Whiteboard: [puppeteer-beta-reserve]
Whiteboard: [puppeteer-beta-reserve] → [puppeteer-beta2-mvp]
Component: CDP: Page → CDP
You need to log in before you can comment on or make changes to this bug.