Make Profile::new not take an Option<&Path>
Categories
(Testing :: Mozbase Rust, enhancement)
Tracking
(firefox67 fixed)
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: ato, Assigned: kritisingh1.ks)
Details
(Keywords: good-first-bug)
Attachments
(2 files)
Instead of Profile::new()
taking an Option<&Path>
as argument,
we should have dedicated ::new()
and ::new_from_path(&Path)
functions.
This would involve changing both capabilities.rs and marionette.rs,
along with some unit test changes.
You can read more about working on geckodriver here:
https://firefox-source-docs.mozilla.org/testing/geckodriver/index.html
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Hi. May I take up this issue? Thanks!
Reporter | ||
Comment 2•5 years ago
•
|
||
Certainly! Here are some links that are useful to get started:
- General Gecko development: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Introduction
- geckodriver development: https://firefox-source-docs.mozilla.org/testing/geckodriver/index.html#for-developers
- Submitting patches: https://moz-conduit.readthedocs.io/en/latest/
I am also on #interop on irc.mozilla.org in case you have any questions.
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
Hi Andreas. So I am stuck at building geckodriver for a while now. It seems to have a lot of dependencies and don't seem to end even after I installed 10-12 of them as per consecutive error messages. Could you point me to a documentation which contains the list of all the required dependencies for the project? Also, a few among them like nasm 2.13 and gconf-2.0 require to be installed in the root folder manually. Is that the right way or I am missing something? Thanks
Reporter | ||
Comment 4•5 years ago
|
||
After you’ve cloned the repo, running ./mach bootstrap
will ensure
all the dependencies are correctly installed. Following that you
need to run ./mach configure
before you can build geckodriver
with ./mach build testing/geckodriver
.
Alternatively you can use the regular Rust approach with cargo build
in testing/geckodriver.
Let me know if this helps.
Assignee | ||
Comment 5•5 years ago
|
||
This patch replaces the current implementation of Profile::new() taking an Option<&Path> as argument with dedicated Profile::new() and Profile::new_from_path(opt_path: Option<&Path>) functions.
Assignee | ||
Comment 6•5 years ago
|
||
Pushed by atolfsen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9f0635581b5c replaces the current implementation of Profile::new with dedicated Profile::new and Profile::new_from_path. r=ato
Comment 8•5 years ago
|
||
bugherder |
Description
•