Open Bug 1921314 Opened 5 days ago Updated 17 hours ago

Fix retry logic for calling into child actors when performing and releasing actions

Categories

(Remote Protocol :: WebDriver BiDi, task)

task

Tracking

(Not tracked)

People

(Reporter: whimboo, Unassigned)

References

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

Details

Once bug 1904665 is done we need to strengthen the action commands that call into child actors and may face an AbortError.

Via bug 1854942 I've made updates recently as well but this is for one call into the window global for BiDi. Given that for actions we have a call into content for deserialization, and then individual ones for dispatching the action we need to wrap all action logic into a try/catch so that we can restart from the beginning.

It would be good to also have a webdriver test for this which should be Mozilla-specific again.

As per discussion today we maybe should not retry to dispatch actions if the underlying document got replaced.

I'll see which tests I can provide to handle different scenarios.

You need to log in before you can comment on or make changes to this bug.