Closed Bug 1441527 Opened 4 years ago Closed 4 years ago

Task middleware should accept async function in addition to generators

Categories

(DevTools :: Memory, enhancement)

enhancement
Not set
normal

Tracking

(firefox60 fixed)

RESOLVED FIXED
Firefox 60
Tracking Status
firefox60 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

Details

Attachments

(1 file)

Task middleware that memory panel is using currently only expect generators as action function.
But in bug 1440321, all generators are going to be converted to async functions.
Comment on attachment 8954361 [details]
Bug 1441527 - Adapt Task middleware to async functions.

https://reviewboard.mozilla.org/r/223458/#review229592

Thanks, this change looks resonable to me! :)
Attachment #8954361 - Flags: review?(jryans) → review+
Assignee: nobody → poirot.alex
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/92ae989fbdcc
Adapt Task middleware to async functions. r=jryans
https://hg.mozilla.org/mozilla-central/rev/92ae989fbdcc
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 60
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.