Replace promiseWaitForEvent in browser_bug477014.js with BrowserTestUtils.waitForEvent
Categories
(Firefox :: General, enhancement, P5)
Tracking
()
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: johannh, Assigned: championshuttler, Mentored)
References
Details
(Keywords: good-first-bug)
Attachments
(1 file)
This is a good first bug for newcomers to Firefox development.
promiseWaitForEvent in the browser_bug477014.js test file can be replaced by the BrowserTestUtils.waitForEvent utility function.
The code in question is here: https://searchfox.org/mozilla-central/rev/dc0adc07db3df9431a0876156f50c65d580010cb/browser/base/content/test/general/browser_bug477014.js#19
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_bug477014.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.
Comment 1•5 years ago
|
||
Hello, can I work on it?
Reporter | ||
Comment 2•5 years ago
|
||
Hi Carolina, it's awesome that you're picking things up so quickly. Since you've already solved a bug of this category, may I suggest bug 1442179 instead? It's certainly a bit more difficult and should prove a better challenge for you.
Thanks!
Comment 3•5 years ago
|
||
sure, can you assign it to me please?
Assignee | ||
Comment 4•5 years ago
•
|
||
Hi Johann, can I take this up? I have a local build on my laptop as well.
Thanks
Reporter | ||
Comment 5•5 years ago
|
||
Sure!
Updated•5 years ago
|
Assignee | ||
Comment 6•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Pushed by rgurzau@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/37c04ba80d68
Replace promiseWaitForEvent in browser_bug477014.js with BrowserTestUtils.waitForEvent. r=johannh
Updated•5 years ago
|
Comment 8•5 years ago
|
||
bugherder |
Description
•