Closed
Bug 788440
Opened 12 years ago
Closed 12 years ago
B2G Contact: Permission denied to access property 'id'
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
People
(Reporter: allstars.chh, Assigned: gwagner)
Details
(Whiteboard: [WebAPI:P2])
Attachments
(1 file, 1 obsolete file)
1.11 KB,
patch
|
Details | Diff | Splinter Review |
After apply the patch from Bug 788377, when doing 'Import SIM Contacts' from Contacts app, I can see errors from the log E/GeckoConsole( 1566): [JavaScript Error: "NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: '[JavaScript Error: "Permission denied to access property 'id'" {file: "jar:file:///system/b2g/omni.ja!/components/ContactManager.js" line: 501}]' when calling method: [nsIDOMContact::id]" {file: "jar:file:///system/b2g/omni.ja!/components/ContactManager.js" line: 501}] E/GeckoConsole( 1534): [JavaScript Error: "NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: '[JavaScript Error: "Permission denied to access property 'id'" {file: "jar:file:///system/b2g/omni.ja!/components/ContactManager.js" line: 501}]' when calling method: [nsIDOMContact::id]" {file: "jar:file:///system/b2g/omni.ja!/components/ContactManager.js" line: 501}]
Reporter | ||
Comment 1•12 years ago
|
||
In http://mxr.mozilla.org/mozilla-central/source/dom/contacts/ContactManager.js#386 it will new Contact, is it okay to do it here? Thanks
Assignee | ||
Comment 2•12 years ago
|
||
Ok the readonly flags don't work here and contacts import from SIM card is currently broken.
blocking-basecamp: --- → ?
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → anygregor
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #658564 -
Flags: review?(bobbyholley+bmo)
Comment 4•12 years ago
|
||
Comment on attachment 658564 [details] [diff] [review] patch I don't understand the contact API well enough to judge if it's appropriate for content to be mucking with this. But if you say so.
Attachment #658564 -
Flags: review?(bobbyholley+bmo) → review+
Comment 5•12 years ago
|
||
Importing SIM card contacts is a required feature for v1.
blocking-basecamp: ? → +
Updated•12 years ago
|
Whiteboard: [WebAPI:P2]
Reporter | ||
Comment 6•12 years ago
|
||
Since it's already r+ and Bug 788377 is already landed Also I noticed Gwagner is taking PTO. I'll help to push this patch
Reporter | ||
Comment 7•12 years ago
|
||
convert to hg format. Add r=bholley
Attachment #658564 -
Attachment is obsolete: true
Reporter | ||
Comment 8•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/3f5ae86f86f7
Target Milestone: --- → mozilla18
Comment 9•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/3f5ae86f86f7
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•