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.
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
You need to log in before you can comment on or make changes to this bug.