Closed
Bug 736200
Opened 12 years ago
Closed 12 years ago
Contacts API: Using cleaner IDs for the mozContact objects
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla14
People
(Reporter: etienne, Assigned: gwagner)
Details
Attachments
(1 file)
1.08 KB,
patch
|
fabrice
:
review+
|
Details | Diff | Splinter Review |
The ID generated for each mozContact currently looks like {25c00f01-90e5-c545-b4d4-21E2ddbab9e0} For various reason devs might want to these IDs to construct dom #id like prefix_[contactID] So if it doesn't have any bad side effect it would be great to stripe the "{", "}" and "-" from the mozContact IDs. This way preventing the need for each mozContacts API user to stripe them himself. And facilitating the search by ID.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → anygregor
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 1•12 years ago
|
||
Assignee | ||
Comment 2•12 years ago
|
||
Comment on attachment 606333 [details] [diff] [review] patch We could also change it in _getRandomId() if this is a general problem
Attachment #606333 -
Flags: review?(fabrice)
Updated•12 years ago
|
Attachment #606333 -
Flags: review?(fabrice) → review+
Assignee | ||
Comment 3•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ac5f18c521e6
Comment 4•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ac5f18c521e6
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla14
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•