Use "add_task()" instead of "add_test()" in Remote Protocols xpcshell tests
Categories
(Remote Protocol :: Agent, task, P3)
Tracking
(firefox112 fixed)
Tracking | Status | |
---|---|---|
firefox112 | --- | fixed |
People
(Reporter: whimboo, Assigned: ofrazy, Mentored)
Details
(Whiteboard: [lang=js])
Attachments
(1 file, 4 obsolete files)
All of our xpcshell tests currently use the "add_test()" function which require the line run_next_test();
to be added at the end of the test:
https://searchfox.org/mozilla-central/search?q=add_test&path=remote%2F&case=false®exp=false
We should switch to add_task()
which doesn't need it and better works with async test code.
Reporter | ||
Updated•2 years ago
|
Hello, I am new here but I have found interest in this bug and I would love to solve it, how do I go about it? I'd love to contribute to this project.
Reporter | ||
Comment 2•2 years ago
|
||
You are welcome to get started! I would suggest that you have a look at our general documentation in how to get started:
https://firefox-source-docs.mozilla.org/remote/index.html
If something is unclear don't hesitate to ask here, or join us on Element / Matrix as described in the docs. Thanks.
(In reply to Henrik Skupin [:whimboo][⌚️UTC+1] (away 02/13 - 02/19) from comment #2)
You are welcome to get started! I would suggest that you have a look at our general documentation in how to get started:
https://firefox-source-docs.mozilla.org/remote/index.htmlIf something is unclear don't hesitate to ask here, or join us on Element / Matrix as described in the docs. Thanks.
Hello Henrik,
So I've just looked at the codebase on GitHub and I have managed to track the files that need the changes, should I fork the repo and then link the bug once I am done, or there is another process that I should follow to fix the issue addressed in this bug?
Reporter | ||
Comment 4•2 years ago
|
||
On Github we only have a copy of the source. Check the following pages specifically in how to get started:
https://firefox-source-docs.mozilla.org/testing/marionette/NewContributors.html
https://firefox-source-docs.mozilla.org/testing/marionette/Building.html
Reporter | ||
Comment 5•2 years ago
|
||
ofrazy, are you still interested to work on this bug? Is there anything blocking you and where I can help? Please let me know.
(In reply to Henrik Skupin [:whimboo][⌚️UTC+1] from comment #5)
ofrazy, are you still interested to work on this bug? Is there anything blocking you and where I can help? Please let me know.
Yes, I am interested
I had lost hold of my devices, I am currently setting up my environment I will be in contact with you on element incase of any issues.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 10•2 years ago
|
||
Depends on D170809
Assignee | ||
Comment 11•2 years ago
|
||
Depends on D171059
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 12•2 years ago
|
||
Comment 13•2 years ago
|
||
bugherder |
Description
•