Open Bug 1876062 Opened 4 months ago Updated 2 months ago

Skip "beforeunload" prompts when closing tabs during browser.removeUserContext

Categories

(Remote Protocol :: WebDriver BiDi, task, P3)

task
Points:
2

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Whiteboard: [webdriver:m11])

Per spec, we should skip beforeunload prompts when closing container tabs. We should be able to expose the skipPermitUnload argument of tabbrowser removeTab via ContextualIdentityService.closeContainerTabs.

However to test this properly we need first to allow beforeunload prompts not to be skipped.

Blocks: 1870840
No longer blocks: 1870839
Depends on: 1693857
Points: --- → 2
Priority: -- → P3
Whiteboard: [webdriver:m10]
Depends on: 1877191

The severity field is not set for this bug.
:whimboo, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(hskupin)

We have to wait for bug 1824220 which will add more capability handling to be able at all to work with this kind of user prompt.

Type: defect → task
Depends on: 1824220
Flags: needinfo?(hskupin)
Whiteboard: [webdriver:m10] → [webdriver:m11]
You need to log in before you can comment on or make changes to this bug.