IdleRunnableWrapper should override GetName and returned the wrapped runnable's name

RESOLVED FIXED in Firefox 56

Status

()

enhancement
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: farre, Assigned: farre)

Tracking

unspecified
mozilla56
Points:
---

Firefox Tracking Flags

(firefox56 fixed)

Details

Attachments

(1 attachment)

The class IdleRunnableWrapper is used in NS_IdleDispatchToCurrentThread to allow dispatching non nsIIdleRunnable runnables with a timeout. This means that the label of the wrapped runnable is shadowed, and isn't reported in telemetry for runnables that overdraw budgets.
Assignee: nobody → afarre
Attachment #8882361 - Flags: review?(nfroyd) → review+
Pushed by afarre@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e2bf83a0eabe
Implement GetName for IdleRunnableWrapper. r=froydnj
https://hg.mozilla.org/mozilla-central/rev/e2bf83a0eabe
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.