Closed
Bug 861905
Opened 12 years ago
Closed 12 years ago
Contacts API: Shortcut permission check in the child
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
People
(Reporter: gwagner, Assigned: gwagner)
References
Details
(Whiteboard: [fixed-in-birch])
Attachments
(1 file, 4 obsolete files)
1.78 KB,
patch
|
gwagner
:
review+
|
Details | Diff | Splinter Review |
We spend a lot of time checking the permission for the call log and in the sms app. We can avoid one child-parent roundtrip per DB entry.
Assignee | ||
Comment 1•12 years ago
|
||
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #737517 -
Attachment is obsolete: true
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #737527 -
Attachment is obsolete: true
Assignee | ||
Updated•12 years ago
|
Attachment #737533 -
Flags: review?(reuben.bmo)
Attachment #737533 -
Flags: review?(jonas)
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → anygregor
Comment 4•12 years ago
|
||
Comment on attachment 737533 [details] [diff] [review] patch Review of attachment 737533 [details] [diff] [review]: ----------------------------------------------------------------- Nice! ::: dom/contacts/ContactManager.js @@ +562,5 @@ > default: > access = "unknown"; > } > > + // Shortcut for ALLOW_ACTION Can you expand this explanation a little bit? Something like // Avoid the IPC round trip if we don't have to prompt for the permission.
Attachment #737533 -
Flags: review?(reuben.bmo) → review+
Assignee | ||
Comment 5•12 years ago
|
||
Comment on attachment 737533 [details] [diff] [review] patch Maybe Mounir has more time for a review.
Attachment #737533 -
Flags: review?(mounir)
Comment 6•12 years ago
|
||
Comment on attachment 737533 [details] [diff] [review] patch Review of attachment 737533 [details] [diff] [review]: ----------------------------------------------------------------- r=me but it's not crystal clear to me why we were not doing that since the beginning. APIs should simply check for the permission on the child and anyway, the parent will kill them if the child request something that they should not be requesting.
Attachment #737533 -
Flags: review?(mounir)
Attachment #737533 -
Flags: review?(jonas)
Attachment #737533 -
Flags: review+
Assignee | ||
Comment 7•12 years ago
|
||
Attachment #737533 -
Attachment is obsolete: true
Attachment #738432 -
Flags: review+
Assignee | ||
Comment 8•12 years ago
|
||
Attachment #738432 -
Attachment is obsolete: true
Attachment #738433 -
Flags: review+
Assignee | ||
Updated•12 years ago
|
Whiteboard: checkin-needed
Comment 9•12 years ago
|
||
https://hg.mozilla.org/projects/birch/rev/4f58c0e74b97
Whiteboard: checkin-needed → [fixed-in-birch]
Comment 10•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4f58c0e74b97
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Comment 11•12 years ago
|
||
Blocks a leo+ bug so blocking.
blocking-b2g: tef? → leo+
Flags: needinfo?(anygregor)
Comment 12•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g18/rev/5fe874b8efbd
status-b2g18:
--- → fixed
status-b2g18-v1.0.0:
--- → wontfix
status-b2g18-v1.0.1:
--- → wontfix
status-firefox21:
--- → wontfix
status-firefox22:
--- → wontfix
status-firefox23:
--- → fixed
Assignee | ||
Comment 13•12 years ago
|
||
(In reply to David Scravaglieri [:scravag] from comment #11) > Blocks a leo+ bug so blocking. I guess everything is done here.
Flags: needinfo?(anygregor)
Updated•11 years ago
|
Flags: in-moztrap-
You need to log in
before you can comment on or make changes to this bug.
Description
•