Closed
Bug 808983
Opened 12 years ago
Closed 12 years ago
Should not call hal_sandbox::Vibrate when ipc is broken
Categories
(Core :: Hardware Abstraction Layer (HAL), defect)
Tracking
()
RESOLVED
FIXED
mozilla19
People
(Reporter: slee, Assigned: slee)
References
Details
Attachments
(1 file, 2 obsolete files)
2.77 KB,
patch
|
slee
:
review+
bajaj
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Updated•12 years ago
|
Summary: Should not call hal_sandbox::Vibrate when child process is dead → Should not call hal_sandbox::Vibrate when ipc is broken
Assignee | ||
Comment 1•12 years ago
|
||
Hi Justin,
This patch is to fix the problem that when the ipc is disconnected and content process still tries to call Vibrate/CancelVibrate. Would you please review it? If you don't have time, can you suggest someone to review it? BTW, could you suggest how to do auto test in this case?
Thanks.
Attachment #679070 -
Flags: review?(justin.lebar+bug)
Comment 2•12 years ago
|
||
Comment on attachment 679070 [details] [diff] [review]
patch
This is good, but I'd like the comments to be clearer. There's no longer an explicit call to hal_sandbox, so can you please say something like "Don't forward our ID if we're not in the sandbox, because hal_impl doesn't need it. ..." or something?
Attachment #679070 -
Flags: review?(justin.lebar+bug) → feedback+
Comment 3•12 years ago
|
||
I'd like to have a look at the patch with updated comments, if you don't mind.
Assignee | ||
Comment 4•12 years ago
|
||
Justin,
Please check the comment of this patch. Thanks for your suggestion.
Attachment #679070 -
Attachment is obsolete: true
Attachment #679516 -
Flags: review?(justin.lebar+bug)
Comment 5•12 years ago
|
||
Comment on attachment 679516 [details] [diff] [review]
patch v2
> + // Don't forward our ID if we are not in the sandbox, because hal_impl
> + // doesn't need it. And we don't want it to be tempted to read it. The
> + // empty identifier will assert if it's used.
r=me if you change "it. And" to "it, and" in the two instances you have this.
Thanks for revising the comments!
Attachment #679516 -
Flags: review?(justin.lebar+bug) → review+
Assignee | ||
Comment 6•12 years ago
|
||
Address comment 5.
Attachment #679516 -
Attachment is obsolete: true
Attachment #679517 -
Flags: review+
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 7•12 years ago
|
||
If you think we should take this on Aurora (seems like we should), please nom your patch.
Assignee | ||
Comment 8•12 years ago
|
||
Comment on attachment 679517 [details] [diff] [review]
patch v3
[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 793759
User impact if declined: Content processes will crash when the ipc connection is broken and they try to call vibrate related functions.
Testing completed (on m-c, etc.): no
Risk to taking this patch (and alternatives if risky): low
String or UUID changes made by this patch: no
Attachment #679517 -
Flags: approval-mozilla-aurora?
Comment 9•12 years ago
|
||
Keywords: checkin-needed
Comment 10•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Updated•12 years ago
|
Attachment #679517 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 11•12 years ago
|
||
status-firefox18:
--- → fixed
status-firefox19:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•