Closed
Bug 960937
Opened 11 years ago
Closed 6 years ago
[Contacts API] mozContacts.remove should be able to take an id only
Categories
(Core Graveyard :: DOM: Contacts, defect, P5)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: julienw, Unassigned)
References
Details
From Bug 931711 comment 23.
Currently mozContacts.remove needs a mozContact object with an id attribute. Basically, this means that if the user only keeps the contact id, he needs to retrieve the mozContact from the API just to be able to remove it.
Another solution that I don't like is to create an empty mozContact and _then_ manually set the id, which is something I'd like to forbid in bug 951829 by configuring this property as readonly.
Therefore, the best solution is to make the "remove" method accept a contact id as argument.
Comment 1•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
Comment 2•6 years ago
|
||
DOM: Contacts isn't used anymore.
Closing all remaining bugs.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•