Closed
Bug 917051
Opened 11 years ago
Closed 11 years ago
SimplePush: Clean up unregister related code
Categories
(Core :: DOM: Push Subscriptions, defect)
Tracking
()
VERIFIED
FIXED
mozilla27
People
(Reporter: nsm, Assigned: nsm)
Details
Attachments
(1 file)
2.85 KB,
patch
|
dougt
:
review+
|
Details | Diff | Splinter Review |
Some dead code in there.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → nsm.nikhil
Assignee | ||
Comment 1•11 years ago
|
||
Since we don't really care whether the server got the unregister, let's not handle the reply either.
Attachment #805699 -
Flags: review?(doug.turner)
Comment 2•11 years ago
|
||
Comment on attachment 805699 [details] [diff] [review] SimplePush: Clean up unregister related code. Review of attachment 805699 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/push/src/PushService.jsm @@ +1134,5 @@ > deferred.resolve(message); > }, > function(error) { > // Unable to save. > + this._send("unregister", {channelID: record.channelID}); How did this work before?
Attachment #805699 -
Flags: review?(doug.turner) → review+
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Doug Turner (:dougt) from comment #2) > Comment on attachment 805699 [details] [diff] [review] > SimplePush: Clean up unregister related code. > > Review of attachment 805699 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: dom/push/src/PushService.jsm > @@ +1134,5 @@ > > deferred.resolve(message); > > }, > > function(error) { > > // Unable to save. > > + this._send("unregister", {channelID: record.channelID}); > > How did this work before? _sendRequest() will keep track of the request with a timer and error with a timeout if it fails, and trickle that up to content JS, except we no longer have a watcher for it.
Assignee | ||
Comment 4•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/104e23b70187
Comment 5•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/104e23b70187
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
Comment 6•10 years ago
|
||
tested and working 1.5 Gecko fa7c5ad Gaia 7c73c66
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•