Open Bug 1862380 Opened 7 months ago Updated 2 months ago

Add support for "promptUnload" argument for "browsingContext.close" command

Categories

(Remote Protocol :: WebDriver BiDi, enhancement, P2)

enhancement
Points:
3

Tracking

(Not tracked)

People

(Reporter: whimboo, Unassigned)

References

(Depends on 2 open bugs, Blocks 3 open bugs, )

Details

(Whiteboard: [webdriver:m11])

The promptUnload argument has recently been added to the browsingContext.close command via https://github.com/w3c/webdriver-bidi/pull/518. This allows to control if a beforeunload prompt should be shown or not.

I've asked for some tests and will add a downstream sync bug as dependency once a PR on the wpt repository has been created.

Type: task → enhancement

Right now we do not support beforeunload prompts at all in Marionette. So these need to be enabled first, before we can add support for it in WebDriver BiDi via bug 1824220.

Priority: -- → P3
Whiteboard: [webdriver:backlog]
Depends on: 1824220
Blocks: 1873196
Points: --- → 3
Whiteboard: [webdriver:backlog] → [webdriver:m10]
Priority: P3 → P2

Wdspec tests will be added upstream via bug 1874748.

Depends on: 1874748
Whiteboard: [webdriver:m10] → [webdriver:m11]
You need to log in before you can comment on or make changes to this bug.