Replace waitForCondition in browser_914138_widget_API_overflowable_toolbar.js withTestUtils.waitForCondition
Categories
(Firefox :: Toolbars and Customization, enhancement, P5)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox67 | --- | fixed |
People
(Reporter: johannh, Assigned: jcit, Mentored)
References
Details
(Keywords: good-first-bug)
Attachments
(1 file, 2 obsolete files)
This is a good first bug for newcomers to Firefox development.
waitForCondition usage in the browser_914138_widget_API_overflowable_toolbar.js test file can be replaced by the TestUtils.waitForCondition utility function.
The code in question is here: https://searchfox.org/mozilla-central/rev/dbddac86aadf1d4871fb350bbe66db43728a9f81/browser/components/customizableui/test/browser_914138_widget_API_overflowable_toolbar.js#27,44,69,81,98
There are multiple occurrences that need to be replaced.
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/components/customizableui/test/browser_914138_widget_API_overflowable_toolbar.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•6 years ago
|
||
Hi, I'd like to be assigned this as my first bug
| Assignee | ||
Comment 2•6 years ago
|
||
| Reporter | ||
Comment 4•6 years ago
|
||
Setting checkin-needed to get this checked in by someone...
Comment 5•6 years ago
|
||
Unable to land through Lando: it says revision blocked.
Can you take a look at this?
| Assignee | ||
Comment 6•6 years ago
|
||
Looks like I messed up while creating the diff, project wasn't assigned. I'll try to submit it again
| Assignee | ||
Comment 7•6 years ago
|
||
Replace all calls to waitForConditon with TestUtils.waitForCondition
Updated•6 years ago
|
Updated•6 years ago
|
| Assignee | ||
Comment 8•6 years ago
|
||
I'll need to look into this later. It looks like that didn't fix it. I'm gonna fix my dev environment and get this resubmitted. Sorry about all this, still learning how to contribute
| Assignee | ||
Comment 9•6 years ago
|
||
| Assignee | ||
Comment 10•6 years ago
|
||
Finally got it working. Was missing moz-phab.
Looks like it's not blocking in Lando anymore.
Comment 11•6 years ago
|
||
(In reply to Johann Hofmann [:johannh] from comment #4)
Setting checkin-needed to get this checked in by someone...
Removing the tag. Please add it only after you've granted review because it shows up in our landing filter.
Thanks!
| Reporter | ||
Comment 12•6 years ago
|
||
Landing it myself, sorry for the confusion :)
Comment 13•6 years ago
|
||
Updated•6 years ago
|
Comment 14•6 years ago
|
||
| bugherder | ||
Description
•