Closed Bug 1930530 Opened 24 days ago Closed 20 days ago

Marionette doesn't retry to dispatch actions when the JSWindowActor gets replaced

Categories

(Remote Protocol :: Marionette, defect, P2)

defect
Points:
3

Tracking

(firefox134 fixed)

RESOLVED FIXED
134 Branch
Tracking Status
firefox134 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

(Blocks 1 open bug)

Details

(Whiteboard: [webdriver:m13], [wptsync upstream])

Attachments

(2 files)

I've fixed a similar case already for the Remote Agent (bug 1927073) but we actually missed that Marionette is affected as well. So whenever an action chain is performed and a cross-origin navigation is happening, the top-level browsing context is replaced and we need to find the proper one again for retrying.

Further in Marionette we do not yet automatically retry when an AbortError is happening when dispatching an action chain. So we should fix both together.

Assignee: nobody → hskupin
Severity: -- → S3
Status: NEW → ASSIGNED
Points: --- → 3
Priority: -- → P2
Whiteboard: [webdriver:m13]
Depends on: 1930845
Pushed by hskupin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/791d6d12f922 [wdspec] Tests for "Perform Actions" to check that dispatching actions finishes even with an active navigation. r=webdriver-reviewers,jdescottes https://hg.mozilla.org/integration/autoland/rev/9b98319f8d18 [marionette] Correctly retry to dispatch actions when the browsing context is replaced. r=webdriver-reviewers,jdescottes
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/49179 for changes under testing/web-platform/tests
Whiteboard: [webdriver:m13] → [webdriver:m13], [wptsync upstream]
Status: ASSIGNED → RESOLVED
Closed: 20 days ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
Upstream PR merged by moz-wptsync-bot
Blocks: 1931822
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: