Open Bug 1753589 Opened 3 years ago Updated 3 years ago

Use "marionette.port=0" to request a system allocated port from Marionette

Categories

(Testing :: web-platform-tests, enhancement)

Default
enhancement

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: whimboo, Assigned: jgraham)

References

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

Details

Attachments

(1 file)

Once the Marionette client can handle the MarionetteActivePort file we should update the wptrunner to also always use port 0 to request a system allocated port.

This elimnates the chance of race conditions where we pick a port
that's later taken by some other process. Instead we pass in 0 as the
port, and let marionette bind to a free port, which we then read from
the MarionetteActivePort directory in the profile.

Assignee: nobody → james
Status: NEW → ASSIGNED

Henrik: do you still want to wait for the other work, or should we just land this patch in the meantime?

Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: