Closed Bug 1944565 Opened 4 months ago Closed 2 months ago

Add the --remote-enable-system-access argument to Firefox to control whether the client is allowed to access the parent process

Categories

(Remote Protocol :: Agent, enhancement, P2)

enhancement
Points:
3

Tracking

(firefox138 fixed)

RESOLVED FIXED
138 Branch
Tracking Status
firefox138 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

(Blocks 3 open bugs)

Details

(Keywords: sec-want, Whiteboard: [webdriver:m15][webdriver:relnote][adv-main138-])

Attachments

(1 file)

On bug 1359472 we are adding a --enable-system-access argument to geckodriver, which is forwarding it to Firefox as a --remote-enable-system-access argument. This argument is needed for Firefox because WebDriver BiDi clients can connect directly to Firefox without running the HTTP-upgrade path.

The argument’s value will be evaluated by the RemoteAgent and exposed as a property on the RemoteAgent interface in the parent process. Both WebDriver BiDi and Marionette will access this property in the future to determine whether system access is enabled. Based on this value, they will allow or disallow interaction with browsing contexts in the parent process or privileged sandboxes in content processes.

Blocks: 1710425
Blocks: 1722679
Blocks: 1944568

Freddy, based on my latest comments on bug 1359472 I wonder if this bug should be as well a security one or if a confidential is already enough. See my initial description what we are planning to do for both Marionette and WebDriver BiDi. For adding this argument to Firefox do we need another security review here or on bug 1710425 or for WebDriver BiDi bugs like bug 1944568 (there will be more for individual commands). Thanks!

Flags: needinfo?(fbraun)

Confidential is fine

Flags: needinfo?(fbraun)
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Blocks: 1954984
Pushed by hskupin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f97b598e8b82 [remote] Add "--remote-allow-system-access" command line argument to Firefox. r=webdriver-reviewers,Sasha

The failures are related to the addition / changes on bug 1710425.

Flags: needinfo?(hskupin)
Pushed by hskupin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4d32bcd1ce40 [remote] Add "--remote-allow-system-access" command line argument to Firefox. r=webdriver-reviewers,Sasha
Backout by nfay@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/30641a3b843c Backed out 10 changesets (bug 1944565, bug 1710425) for causing multiple failures CLOSED TREE
Pushed by hskupin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/befe2d20cf40 [remote] Add "--remote-allow-system-access" command line argument to Firefox. r=webdriver-reviewers,Sasha

Backed out for causing failures @test_no_errors_clean_profile.py.

Flags: needinfo?(hskupin)

The problem here is that we also have to consume the command line argument in the nsICommandLineHandler:handle method, see bug 1838158 for details to the other arguments. I'm going to update the patch to include the new argument, which will fix the browser chrome test for me.

Blocks: 1838158
Flags: needinfo?(hskupin)
Pushed by hskupin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c5d53ed10ea0 [remote] Add "--remote-allow-system-access" command line argument to Firefox. r=webdriver-reviewers,Sasha
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
Whiteboard: [webdriver:m15] → [webdriver:m15][webdriver:relnote]
Whiteboard: [webdriver:m15][webdriver:relnote] → [webdriver:m15][webdriver:relnote][adv-main138-]
Group: mozilla-employee-confidential
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: