Closed
Bug 515678
Opened 15 years ago
Closed 15 years ago
Provide a smart getter to get the object representation of a JSON Resource response
Categories
(Firefox :: Sync, defect, P1)
Firefox
Sync
Tracking
()
RESOLVED
FIXED
0.7
People
(Reporter: Mardak, Assigned: Mardak)
References
Details
Because we return a String object as the response, our filters might actually change the response to an object before packaging it as a String. So we can attach an additional property on the response object to give the object version.
Assignee | ||
Comment 1•15 years ago
|
||
http://hg.mozilla.org/labs/weave/rev/601cd9a3d19c Always allow getting an object representation of potentially JSON response for any Resource instead of explicitly on filterDownload. Update existing Resource GETs that manually parse the response. This prevents the String response from accidentally toString()ing a filteredDownload that converted to a different type.
Assignee: nobody → edilee
Status: NEW → RESOLVED
Closed: 15 years ago
Priority: -- → P1
Resolution: --- → FIXED
Target Milestone: --- → 0.7
Updated•6 years ago
|
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•