Closed Bug 1589564 Opened 5 years ago Closed 5 years ago

fetchIcon() is async but doesn't use await

Categories

(Core :: DOM: Core & HTML, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: marcosc, Assigned: craftwordltd, Mentored)

Details

Attachments

(1 file)

Be nice to refactor fetchIcon() to use await.

The fetchIcon() bug is labelled as async, but doesn't use await. Refactoring it to use await cleans up the function a bit.

Assignee: nobody → craftwordltd
Mentor: mcaceres
Pushed by mcaceres@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/77f284223290
Refactor ManifestIcons's fetchIcon() function to use await r=marcosc
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: