Closed
Bug 987101
Opened 11 years ago
Closed 11 years ago
Switch the CrashMonitor to native OS.File.read()
Categories
(Toolkit :: Async Tooling, defect)
Toolkit
Async Tooling
Tracking
()
RESOLVED
FIXED
mozilla31
People
(Reporter: Yoric, Assigned: marco)
Details
(Whiteboard: [Async:ready][mentor=Yoric][lang=js])
Attachments
(1 file, 1 obsolete file)
4.55 KB,
patch
|
Yoric
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Reporter | ||
Comment 1•11 years ago
|
||
This should be pretty simple. There is a call to NetUtil.asyncFetch used to load a file. Instead of that call, use OS.File.read.
Whiteboard: [Async:ready][mentor=Yoric][lang=js]
Assignee | ||
Comment 2•11 years ago
|
||
Assignee: nobody → mar.castelluccio
Status: NEW → ASSIGNED
Attachment #8395957 -
Flags: review?(dteller)
Reporter | ||
Comment 3•11 years ago
|
||
Comment on attachment 8395957 [details] [diff] [review]
Patch
Review of attachment 8395957 [details] [diff] [review]:
-----------------------------------------------------------------
::: toolkit/components/crashmonitor/CrashMonitor.jsm
@@ +96,5 @@
> * Load checkpoints from previous session asynchronously.
> *
> * @return {Promise} A promise that resolves/rejects once loading is complete
> */
> loadPreviousCheckpoints: function () {
Could you use a Task instead?
Attachment #8395957 -
Flags: review?(dteller) → feedback+
Assignee | ||
Comment 4•11 years ago
|
||
Looks much clearer now ;)
Attachment #8395957 -
Attachment is obsolete: true
Attachment #8396688 -
Flags: review?(dteller)
Reporter | ||
Comment 5•11 years ago
|
||
Comment on attachment 8396688 [details] [diff] [review]
Patch
Review of attachment 8396688 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, thanks.
Attachment #8396688 -
Flags: review?(dteller) → review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 6•11 years ago
|
||
Keywords: checkin-needed
Comment 7•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
Reporter | ||
Comment 8•11 years ago
|
||
We now need to keep watch on the startup indicators to confirm that we are not regressing.
You need to log in
before you can comment on or make changes to this bug.
Description
•