Closed
Bug 853860
Opened 11 years ago
Closed 11 years ago
[OS.File] outExecutionDuration should accumulate
Categories
(Toolkit Graveyard :: OS.File, defect)
Toolkit Graveyard
OS.File
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla22
People
(Reporter: Yoric, Assigned: Yoric)
Details
Attachments
(1 file, 2 obsolete files)
8.24 KB,
patch
|
Yoric
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•11 years ago
|
||
Assignee: nobody → dteller
Assignee | ||
Comment 2•11 years ago
|
||
Try: https://tbpl.mozilla.org/?tree=Try&rev=3bf243b503af
Attachment #728271 -
Attachment is obsolete: true
Attachment #731101 -
Flags: review?
Assignee | ||
Updated•11 years ago
|
Attachment #731101 -
Flags: review? → review?(nfroyd)
Comment 3•11 years ago
|
||
Comment on attachment 731101 [details] [diff] [review] Accumulating outExecutionDuration Review of attachment 731101 [details] [diff] [review]: ----------------------------------------------------------------- ::: toolkit/components/osfile/osfile_async_front.jsm @@ +121,5 @@ > let Scheduler = { > post: function post(...args) { > + // By convention, the last argument of any message may be an |options| object. > + let methodArgs = args[1]; > + let options = methodArgs?methodArgs[methodArgs.length - 1]:null; Nit: spaces in your ternary operator bits, please. ::: toolkit/components/osfile/tests/mochi/main_test_osfile_async.js @@ +908,5 @@ > + > + // Trying an operation where options are cloned. > + // Options structure passed to a OS.File writeAtomic method. > + writeAtomicOptions = { > + // This field should be overridden with the actual duration Nit: overridden or incremented? The latter, yes?
Attachment #731101 -
Flags: review?(nfroyd) → review+
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #731101 -
Attachment is obsolete: true
Attachment #731160 -
Flags: review+
Assignee | ||
Comment 5•11 years ago
|
||
Try: https://tbpl.mozilla.org/?tree=Try&rev=650bc9071a02
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 6•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/4a8d1a910913
Flags: in-testsuite+
Keywords: checkin-needed
Comment 7•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4a8d1a910913
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Updated•11 months ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•