Closed Bug 1530276 Opened 5 years ago Closed 5 years ago

Replace promiseWaitForEvent in browser_bug477014.js with BrowserTestUtils.waitForEvent

Categories

(Firefox :: General, enhancement, P5)

enhancement

Tracking

()

RESOLVED FIXED
Firefox 67
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.

Hello, can I work on it?

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!

sure, can you assign it to me please?

Hi Johann, can I take this up? I have a local build on my laptop as well.

Thanks

Flags: needinfo?(jhofmann)

Sure!

Assignee: nobody → shivams2799
Status: NEW → ASSIGNED
Flags: needinfo?(jhofmann)
Whiteboard: checkin-needed

Pushed by rgurzau@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/37c04ba80d68
Replace promiseWaitForEvent in browser_bug477014.js with BrowserTestUtils.waitForEvent. r=johannh

Keywords: checkin-needed
Whiteboard: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 67
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: