Closed Bug 1387155 Opened 7 years ago Closed 7 years ago

Have dumpProfileToFileAsync return a promise that resolves once the file is saved or rejects in case of an error

Categories

(Core :: Gecko Profiler, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: bgrins, Assigned: mstange)

Details

Attachments

(1 file)

Right now I'm not aware of a way to be notified once the profile has been saved, so I'm using dumpProfileToFile instead.

https://dxr.mozilla.org/mozilla-central/source/tools/profiler/gecko/nsIProfiler.idl#64
Comment on attachment 8893625 [details]
Bug 1387155 - Make nsIProfiler::dumpProfileToFileAsync return a promise.

https://reviewboard.mozilla.org/r/164712/#review170128
Attachment #8893625 - Flags: review?(n.nethercote) → review+
Pushed by mstange@themasta.com:
https://hg.mozilla.org/integration/autoland/rev/4a26bf37c264
Make nsIProfiler::dumpProfileToFileAsync return a promise. r=njn
https://hg.mozilla.org/mozilla-central/rev/4a26bf37c264
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Assignee: nobody → mstange
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: