Closed Bug 1533657 Opened 1 year ago Closed 1 year ago

Remove defer usage in devtools/client/shared/widgets/Graphs.js

Categories

(DevTools :: Shared Components, enhancement, P3)

enhancement

Tracking

(firefox67 fixed)

RESOLVED FIXED
Firefox 67
Tracking Status
firefox67 --- fixed

People

(Reporter: nchevobbe, Assigned: fanny, Mentored)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug)

Attachments

(1 file)

We should use new Promise instead.

Mentor: nchevobbe
Keywords: good-first-bug

Hi, nicolas, do you can assign this task for me? What I need to do is based on this here, right?

Hello Fanny, the bug is yours :)
What needs to be done is remove the import of the defer module, and use the standard new Promise((res, rej) => {}) notation instead.
You can check the resolved blocking bugs of Bug 1283869 to get an idea how some of them were fixed, and how you could do it.

Assignee: nobody → fannyvieira082
Status: NEW → ASSIGNED

Thanks!

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 67
You need to log in before you can comment on or make changes to this bug.