Closed Bug 1702370 Opened 5 years ago Closed 5 years ago

Replace BrowserTestUtils.waitForCondition with TestUtils.waitForCondition in browser/components/preferences/tests/siteData/head.js

Categories

(Firefox :: Settings UI, task, P5)

task

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: prathiksha, Assigned: liz, Mentored)

Details

Attachments

(1 file)

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

BrowserTestUtils.waitForCondition usage in browser/components/preferences/tests/siteData/head.js[0] can be replaced with TestUtils.waitForCondition.

You can run tests with the ./mach test command:
./mach test browser/components/preferences/tests/siteData/

Feel free to get in touch with me on Matrix if you're stuck.

[0] https://searchfox.org/mozilla-central/rev/a1e81094c7c6dc5e39143caeb39cc46f36980d3e/browser/components/preferences/tests/siteData/head.js

The Bugbug bot thinks this bug should belong to the 'Firefox::Preferences' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: General → Preferences
Attachment #9213235 - Attachment description: Bug 1702370 - Replace BrowserTestUtils.waitForCondition with TestUtils.waitForCondition r=prathiksha → Bug 1702370 - Replace BrowserTestUtils.waitForCondition with TestUtils.waitForCondition in browser/components/preferences/tests/siteData/head.js r=prathiksha
Pushed by prathikshaprasadsuman@gmail.com: https://hg.mozilla.org/integration/autoland/rev/3de571a677b5 Replace BrowserTestUtils.waitForCondition with TestUtils.waitForCondition in browser/components/preferences/tests/siteData/head.js r=prathiksha
Status: ASSIGNED → RESOLVED
Closed: 5 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: