Replace promiseWaitForCondition with TestUtils.waitForCondition in browser_double_close_tab.js
Categories
(Firefox :: General, enhancement, P5)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox67 | --- | fixed |
People
(Reporter: johannh, Assigned: jjo, Mentored)
References
Details
(Keywords: good-first-bug)
Attachments
(1 file)
This is a good first bug for newcomers to Firefox development.
promiseWaitForCondition in the browser_double_close_tab.js test file can be replaced by the TestUtils.waitForCondition utility function.
The code in question is here: https://searchfox.org/mozilla-central/rev/dc0adc07db3df9431a0876156f50c65d580010cb/browser/base/content/test/general/browser_double_close_tab.js#69
For instructions on how to get your local build of Firefox up and running and submit your patch, see https://developer.mozilla.org/en-US/docs/Introduction.
You can run this test with the ./mach mochitest command:
./mach mochitest browser/base/content/test/general/browser_double_close_tab.js
Please leave a comment if you would like to be assigned to this bug and feel free to ask questions here or via IRC if you're stuck.
| Assignee | ||
Comment 1•2 years ago
|
||
Hi Johann, it's Jojo! Is it possible if this bug could be assigned to me? Thanks!
| Reporter | ||
Comment 3•2 years ago
|
||
Joanna was first. :)
Aashna, I'll open up a bunch of new bugs later and let you know.
Updated•2 years ago
|
Comment 4•2 years ago
|
||
Hi Joanna and Johann. I am an Outreachy applicant. I see this bug is not resolved in almost a week. If you are not working on it Joanna can I be assigned to it by Johann?
Thank you!
| Assignee | ||
Comment 5•2 years ago
|
||
(In reply to Viktor from comment #4)
Hi Joanna and Johann. I am an Outreachy applicant. I see this bug is not resolved in almost a week. If you are not working on it Joanna can I be assigned to it by Johann?
Thank you!
Hi Viktor, I've actually solved this bug! It was just taking a bit to set up my dev environment, but I'll be submitting a patch for this soon.
| Assignee | ||
Comment 6•2 years ago
|
||
Changed promiseWaitForCondition in line 69 to TestUtils.waitForCondition
Comment 7•2 years ago
|
||
(In reply to Joanna Jo [:jjo] from comment #5)
(In reply to Viktor from comment #4)
Hi Joanna and Johann. I am an Outreachy applicant. I see this bug is not resolved in almost a week. If you are not working on it Joanna can I be assigned to it by Johann?
Thank you!Hi Viktor, I've actually solved this bug! It was just taking a bit to set up my dev environment, but I'll be submitting a patch for this soon.
Great. I'm glad everything worked out. Cheers!
| Reporter | ||
Comment 8•2 years ago
|
||
Setting checkin-needed to get this landed...
Pushed by dluca@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b6c437beca62
Replace promiseWaitForCondition with TestUtils.waitForCondition in browser_double_close_tab.js r=johannh
Comment 10•2 years ago
|
||
| bugherder | ||
| Comment hidden (obsolete) |
Comment 12•2 years ago
|
||
Pushed by apavel@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/79c8caa86612 Replace promiseWaitForCondition with TestUtils.waitForCondition in browser_double_close_tab.js r=johannh
Comment 13•2 years ago
|
||
Wrong backout, I relanded this. Marking the backout comment as obsolete.
Comment 14•2 years ago
|
||
Is this bug resolved? Can this be assigned to me?? I am an outreachy applicant.
Comment 15•2 years ago
|
||
| bugherder | ||
Description
•