Closed
Bug 888801
Opened 12 years ago
Closed 12 years ago
Contacts API: Remove searchable fields from IPC transfer in cached scenario
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: gwagner, Assigned: reuben)
References
Details
(Whiteboard: [fixed-in-birch])
Attachments
(1 file)
4.50 KB,
patch
|
gwagner
:
review+
|
Details | Diff | Splinter Review |
Currently we copy all information to the child when we use cursors. We should use makeExport to strip unneeded info.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #769999 -
Flags: review?(anygregor)
Reporter | ||
Comment 2•12 years ago
|
||
Comment on attachment 769999 [details] [diff] [review]
Patch
Review of attachment 769999 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks!
::: dom/contacts/fallback/ContactDB.jsm
@@ +31,5 @@
> +
> + for (let field in aRecord.properties)
> + contact.properties[field] = aRecord.properties[field];
> +
> + contact.properties.secret = !!contact.properties.secret;
Remove this line.
Attachment #769999 -
Flags: review?(anygregor) → review+
Assignee | ||
Comment 3•12 years ago
|
||
(In reply to Gregor Wagner [:gwagner] from comment #2)
> Remove this line.
Why? It's there so we send a bool back instead of an integer. We store it as a number because you can't create an index over a boolean property.
Assignee | ||
Comment 4•12 years ago
|
||
Whiteboard: [fixed-in-birch]
Comment 5•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in
before you can comment on or make changes to this bug.
Description
•