Closed Bug 1703125 Opened 3 years ago Closed 3 years ago

Replace BrowserTestUtils.waitForCondition with TestUtils.waitForCondition in browser/base/content/test/popupNotifications/head.js

Categories

(Firefox :: General, task, P5)

task

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: prathiksha, Assigned: mbansal, Mentored)

Details

Attachments

(1 file)

This is a good first bug for newcomers to Firefox development.

BrowserTestUtils.waitForCondition in browser/base/content/test/popupNotifications/head.js[0] can be replaced with TestUtils.waitForCondition.

You can run tests with the ./mach test command:
./mach test browser/base/content/test/popupNotifications/

Please leave a comment if you would like to be assigned to this bug.

[0] https://searchfox.org/mozilla-central/source/browser/base/content/test/popupNotifications/head.js

Hi @prathiksha!
I would like to work on this.
Thank you

Assignee: nobody → mbansal

I have submitted a patch.
Please have a look @prathiksha.
Also, I had a general query regarding submitting a patch.
In general, we create a branch in git and make changes in that branch. But here I followed these steps:
->hg checkout central
->made changes
->hg commit -m "..."
->moz-phab submit.

Am I going in the right direction?

Attachment #9213821 - Attachment description: Bug 1703125 - Replace BrowserTestUtils.waitForCondition with TestUtils.waitForCondition. r=prathiksha → Bug 1703125 - Replace BrowserTestUtils.waitForCondition with TestUtils.waitForCondition in browser/base/content/test/popupNotifications/head.js. r=prathiksha
Pushed by prathikshaprasadsuman@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/8036c8d88c3c
Replace BrowserTestUtils.waitForCondition with TestUtils.waitForCondition in browser/base/content/test/popupNotifications/head.js. r=prathiksha
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: