Closed
Bug 836206
Opened 12 years ago
Closed 12 years ago
Split out or rewrite CommonUtils.jsonLoad/jsonSave
Categories
(Cloud Services :: Firefox: Common, defect)
Cloud Services
Firefox: Common
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla21
People
(Reporter: rnewman, Assigned: rnewman)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file)
(deleted),
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
These are the only two consumers of FileUtils and NetUtils in services/common/utils.jsm. They're only used by AITC and Sync, the former only once each.
We should consider moving jsonLoad and jsonSave back into Sync's utils, and rewriting AITC to use readJSON/writeJSON, or removing AITC from the tree altogether if it's dead.
It might also be advantageous to lazy-load OS.File in CommonUtils. I don't know if that's already being loaded, and thus we don't save anything, but it might push that back to when we need to read or write.
Comment 1•12 years ago
|
||
Try run for 67f6cbc5dca6 is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=67f6cbc5dca6
Results (out of 19 total builds):
exception: 19
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/rnewman@mozilla.com-67f6cbc5dca6
Assignee | ||
Comment 2•12 years ago
|
||
That was a canceled try run. Yay.
Assignee | ||
Comment 3•12 years ago
|
||
Depends on the death of AITC, of course.
Assignee | ||
Comment 4•12 years ago
|
||
Shaves 3120B off common utils.js. Every little helps! :D
Comment 5•12 years ago
|
||
Comment on attachment 708314 [details] [diff] [review]
Move jsonLoad and jsonSave back to Sync utils. v1
Review of attachment 708314 [details] [diff] [review]:
-----------------------------------------------------------------
Removed a few imports from utils.js - nice!
Attachment #708314 -
Flags: review?(gps) → review+
Assignee | ||
Comment 6•12 years ago
|
||
https://hg.mozilla.org/services/services-central/rev/58b601eae9a7
Note that I landed Bug 836395 with this bug in the commit message. Oops.
Whiteboard: [fixed in services][qa-]
Comment 7•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/8d6518406597
https://hg.mozilla.org/mozilla-central/rev/58b601eae9a7
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed in services][qa-] → [qa-]
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•