Closed Bug 1717899 Opened 3 years ago Closed 2 years ago

Extend the lifetime of the Remote Agent to the Firefox session

Categories

(Remote Protocol :: Agent, task, P2)

task
Points:
8

Tracking

(firefox101 fixed)

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

(Whiteboard: [bidi-m3-mvp])

Attachments

(1 file)

Compared to Marionette the Remote Agent can be started and stopped multiple times throughout the lifetime of the Firefox session. This was most likely implemented because of allowing to test several connection scenarios by browser chrome tests, which are not able to actually restart Firefox.

When implementing WebDriver BiDi it would be good to let the Remote Agent behave the same as Marionette. Given that each and every test could be done via WdSpec we won't have the limitation for browser-chrome tests anymore. Tests for CDP could be done the same way by using the Mozilla specific WdSpec tests.

The only requirement that's needed is the session.new command (bug 1713784).

One reason to get this done is that we currently do not have control over when the HTTP server is shutdown, and especially when the recommended preferences are getting reset. This opens a race as it can be seen on bug 1717145, because at the time of resetting the preferences the prefs module is no longer accessible.

Points: --- → 8
Priority: -- → P3
Depends on: 1722090
No longer depends on: 1722090
Depends on: 1722090
Whiteboard: [bidi-m1-mvp] → [bidi-m2-mvp]
Priority: P3 → --
Whiteboard: [bidi-m2-mvp]

Setting as P3 as well given that it is blocked on the P3 bug 1722090.

Priority: -- → P3
Depends on: 1759998
Depends on: 1762647
Blocks: 1719505
See Also: → 1590829
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Attachment #9273310 - Attachment description: WIP: Bug 1717899 - [remote] Extend the lifetime of the Remote Agent to the Firefox session. → Bug 1717899 - [remote] Extend the lifetime of the Remote Agent to the Firefox session.
Priority: P3 → P2
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4d34ea7ba155
[remote] Extend the lifetime of the Remote Agent to the Firefox session. r=webdriver-reviewers,jdescottes
Regressions: 1766576
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch

This actually blocks a M3 milestone feature and as such has to be considered to be in the milestone as well.

Whiteboard: [bidi-m3-mvp]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: