Closed Bug 1942829 Opened 11 months ago Closed 11 months ago

Add argument to Marionette mach command to allow accessing remote locations

Categories

(Testing :: Marionette Client and Harness, enhancement, P3)

enhancement
Points:
1

Tracking

(firefox136 fixed)

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

Details

(Whiteboard: [webdriver:m15])

Attachments

(1 file)

For local development it will be helpful to have a way to allow a Marionette test to access a remote location. Right now this doesn't work because we always set the MOZ_DISABLE_NONLOCAL_CONNECTIONS environment variable to 1 causing Firefox to crash when such a address is hit.

I would suggest to add an argument like --allow-nonlocal-connections which when specified will cause the environment variable not to be set. The help text should make it clear that it is only for local testing.

Component: Marionette → Marionette Client and Harness
Product: Remote Protocol → Testing
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Priority: -- → P1
Whiteboard: [webdriver:m15]
Priority: P1 → P3
Pushed by hskupin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ce8431757554 [marionette] Add "--allow-nonlocal-connections" argument to Marionette's mach command. r=webdriver-reviewers,Sasha
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
Points: --- → 1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: