Closed Bug 1975872 Opened 6 months ago Closed 5 months ago

Certain `testGetValue` calls in browser/components/preferences/tests are unnecessarily awaited

Categories

(Firefox :: Settings UI, task)

task

Tracking

()

RESOLVED FIXED
143 Branch
Tracking Status
firefox143 --- fixed

People

(Reporter: scunnane, Assigned: rtlo9962, Mentored)

Details

(Keywords: good-first-bug)

Attachments

(1 file)

The two calls to testGetValue in browser/components/preferences/tests/browser_searchDefaultEngine.js don't need to be awaited.

And in browser/components/preferences/tests/browser_sync_chooseWhatToSync.js, this testGetValue call doesn't need to be awaited. (And thus the enclosing callback doesn't need to be marked async either.)

Note: I will be assigning this bug to a new Firefox contributor shortly as a good first bug.

Summary: `testGetValue` calls in browser/components/preferences/tests/browser_searchDefaultEngine.js are unnecessarily awaited → Certain `testGetValue` calls in browser/components/preferences/tests are unnecessarily awaited
Type: defect → task
Attachment #9499037 - Attachment description: WIP: Bug 1975872 - Certain `testGetValue` calls in browser/components/preferences/tests are unnecessarily awaited → WIP: Bug 1975872 - Remove await/async from testGetValue() calls

I’m a new contributor, and I’ll be submitting a patch for this bug soon

Assignee: nobody → rtlo9962
Attachment #9499037 - Attachment description: WIP: Bug 1975872 - Remove await/async from testGetValue() calls → Bug 1975872 - Remove unnecessary awaits from certain 'testGetValue' calls in browser/components/preferences/tests. r?#preferences-reviewers!
Pushed by gijskruitbosch@gmail.com: https://github.com/mozilla-firefox/firefox/commit/3eaa88890fa8 https://hg.mozilla.org/integration/autoland/rev/057393172031 Remove unnecessary awaits from certain 'testGetValue' calls in browser/components/preferences/tests. r=settings-reviewers,Gijs
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
QA Whiteboard: [qa-triage-done-c144/b143]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: