Bug 788440 : B2G Contact: Permission denied to access property 'id'. r=bholley
authorGregor Wanger <anygregor@gmail.com>
Thu, 13 Sep 2012 12:02:30 +0800
changeset 107072 3f5ae86f86f74ac022551d13e036541a5fb212f5
parent 107071 304ab1446b9c6bf1dd8b10a4686e3c201f8970dd
child 107073 6b6dc0f7f82a4f472de90346891547d5fa4de439
push id74
push usershu@rfrn.org
push dateTue, 18 Sep 2012 19:23:47 +0000
reviewersbholley
bugs788440
milestone18.0a1
Bug 788440 : B2G Contact: Permission denied to access property 'id'. r=bholley
dom/contacts/ContactManager.js
--- a/dom/contacts/ContactManager.js
+++ b/dom/contacts/ContactManager.js
@@ -161,19 +161,19 @@ const CONTACT_CID        = Components.ID
 const nsIDOMContact      = Components.interfaces.nsIDOMContact;
 
 function Contact() {
   if (DEBUG) debug("Contact constr: ");
 };
 
 Contact.prototype = {
   __exposedProps__: {
-                      id: 'r',
-                      updated: 'r',
-                      published:  'r',
+                      id: 'rw',
+                      updated: 'rw',
+                      published:  'rw',
                       name: 'rw',
                       honorificPrefix: 'rw',
                       givenName: 'rw',
                       additionalName: 'rw',
                       familyName: 'rw',
                       honorificSuffix: 'rw',
                       nickname: 'rw',
                       email: 'rw',