Fix multi-option for using custom browsertime args that contain a double-dash
Categories
(Testing :: Raptor, defect, P1)
Tracking
(firefox128 fixed)
| Tracking | Status | |
|---|---|---|
| firefox128 | --- | fixed |
People
(Reporter: sparky, Assigned: sparky)
References
Details
(Whiteboard: [fxp])
Attachments
(1 file)
Currently, if you run something like this: /mach raptor -t amazon --verbose --browsertime-arg firefox.geckodriverArgs='--marionette-port' --browsertime-arg firefox.geckodriverArgs=31415
Raptor would split the --marionette-port into a separate option that browsertime parses. Then an empty string gets passed as the geckodriverArg for the first option.
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
If you run something like this: ./mach raptor -t amazon --verbose --browsertime-arg firefox.geckodriverArgs='--marionette-port' --browsertime-arg firefox.geckodriverArgs=31415
Raptor would split the --marionette-port into a separate option that browsertime parses. Then an empty string gets passed as the geckodriverArg for the first option.
This patch fixes this issue by detecting when the value has a double-dash and passes the option joined with the = instead of split from it.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 3•2 years ago
|
||
| bugherder | ||
Description
•