Closed
Bug 777207
Opened 13 years ago
Closed 13 years ago
Alarm API - AlarmService should use "activities" or "system messages", or not broadcast information to all content processes
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla17
People
(Reporter: cjones, Assigned: airpingu)
References
Details
Attachments
(1 file, 1 obsolete file)
|
5.83 KB,
patch
|
airpingu
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Updated•13 years ago
|
| Assignee | ||
Updated•13 years ago
|
Summary: AlarmService should use "activities" or "system messages", or not broadcast information to all content processes → Alarm API - AlarmService should use "activities" or "system messages", or not broadcast information to all content processes
| Assignee | ||
Comment 1•13 years ago
|
||
Cjones,
The following summarizes what I've done in this patch:
1. To address this issue, use |aMessage.target| to send message instead of |ppmm|.
2. If you don't mind, I also did some minor refactoring things for |Return:OK| and |Return:KO| to make codes cleaner and shorter.
3. Note that in the |this._sendAsyncMessage()|, I did a sanity check for |aMessageManager| which shouldn't be null (please let me know if you think it's too strict).
4. No need to check if |aMessageName| or |json| is null because they've already been handled in the switch case (i.e. throw NS_ERROR_NOT_IMPLEMENTED).
Thanks for your review!
Gene
Attachment #645657 -
Flags: review?(jones.chris.g)
| Reporter | ||
Updated•13 years ago
|
Attachment #645657 -
Flags: review?(jones.chris.g) → review+
| Assignee | ||
Comment 2•13 years ago
|
||
Just a merge with the latest codes. Cjones has already had review+ on these changes.
Attachment #645657 -
Attachment is obsolete: true
Attachment #645993 -
Flags: review+
| Assignee | ||
Updated•13 years ago
|
Flags: in-testsuite-
Keywords: checkin-needed
Comment 3•13 years ago
|
||
Keywords: checkin-needed
Comment 4•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•