Closed
Bug 825841
Opened 12 years ago
Closed 12 years ago
B2G RIL: not sendSyncMessage("RIL:GetRilContext") in constructor
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: hsinyi, Assigned: hsinyi)
Details
Attachments
(1 file)
7.20 KB,
patch
|
vicamo
:
review+
|
Details | Diff | Splinter Review |
We now send an IPC message 'RIL:GetRilContext' in the constructor of RILContentHelper but we shouldn't do that (or need to improve it) for the following reasons IMO:
1) in RadioInterfaceLayer, 'RIL:GetRilContext' message should be sent from a content process with 'mobileconnection' permission, but we don't guarantee the privilege in RILContentHelper that might cause the content process without that permission being killed.
2) Content processes with various permissions may get service of RILContentHelper. It's not a good idea that we do something specific to a particular privilege in the constructor.
Assignee | ||
Comment 1•12 years ago
|
||
Not sending RIL:GetRilContext message in RILContentHelper constructor, sending it when we first time require the info instead.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → htsai
Assignee | ||
Updated•12 years ago
|
Attachment #699031 -
Flags: review?(vyang)
Comment 2•12 years ago
|
||
Comment on attachment 699031 [details] [diff] [review]
Patch
Review of attachment 699031 [details] [diff] [review]:
-----------------------------------------------------------------
;) Then we have to modify existing MultiSIM code as well though.
Attachment #699031 -
Flags: review?(vyang) → review+
Assignee | ||
Comment 3•12 years ago
|
||
(In reply to Vicamo Yang [:vicamo][:vyang] from comment #2)
> Comment on attachment 699031 [details] [diff] [review]
> Patch
>
> Review of attachment 699031 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ;) Then we have to modify existing MultiSIM code as well though.
Definitely!
Assignee | ||
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•