Closed
Bug 1088230
Opened 11 years ago
Closed 11 years ago
Add backwards compatible attribute to LoopServer registration payload
Categories
(Hello (Loop) :: Client, defect)
Hello (Loop)
Client
Tracking
(firefox35 fixed, firefox36 fixed)
People
(Reporter: pkerr, Assigned: pkerr)
References
Details
(Whiteboard: [rooms])
Attachments
(1 file, 1 obsolete file)
|
1.67 KB,
patch
|
jesup
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Add the simplePushURL attribute to the registration payload along with the simplePushURLs attribute used by the new rooms server API. Assign simplePushURL the pushURL that is assigned to the calls client code.
| Assignee | ||
Updated•11 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•11 years ago
|
||
| Assignee | ||
Updated•11 years ago
|
Attachment #8510528 -
Flags: review?(standard8)
Comment 2•11 years ago
|
||
Comment on attachment 8510528 [details] [diff] [review]
add backwards compatible registration payload to new rooms registration
Review of attachment 8510528 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/components/loop/MozLoopService.jsm
@@ +518,5 @@
> registerWithLoopServer: function(sessionType, pushUrls, retry = true) {
> + // create a registration payload with a backwards compatible attribute (simplePushURL)
> + // that will register only the calls notification.
> + let msg = { simplePushURL: pushUrls.calls,
> + simplePushURLs: pushUrls};
Please following the coding style with { and } ending and starting a new line respectively:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#JavaScript_objects
Comment 3•11 years ago
|
||
Comment on attachment 8510528 [details] [diff] [review]
add backwards compatible registration payload to new rooms registration
Looks good, r=Standard with the change Matt suggested.
Attachment #8510528 -
Flags: review?(standard8) → review+
| Assignee | ||
Comment 4•11 years ago
|
||
incorporate review comment
| Assignee | ||
Updated•11 years ago
|
Attachment #8510528 -
Attachment is obsolete: true
| Assignee | ||
Comment 5•11 years ago
|
||
Carrying forward r+ Standard8.
| Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 6•11 years ago
|
||
Comment 7•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 8•11 years ago
|
||
Comment 9•11 years ago
|
||
Comment on attachment 8510624 [details] [diff] [review]
add backwards compatible registration payload to new rooms registration
Approval Request Comment
Landed on aurora per IRC with lsblakk with a=loop-only
Attachment #8510624 -
Flags: review+
Attachment #8510624 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
Attachment #8510624 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 10•11 years ago
|
||
This was a temporary change and has since been removed. Nothing to do on the testsuite side now.
Flags: in-testsuite?
You need to log in
before you can comment on or make changes to this bug.
Description
•