Closed
Bug 867632
Opened 11 years ago
Closed 11 years ago
SimplePush: unregister() calls should not queue up as requests.
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: nsm, Assigned: mail)
References
Details
(Whiteboard: [good-first-bug][mentor=nsm])
Attachments
(1 file)
1013 bytes,
patch
|
nsm
:
review+
|
Details | Diff | Splinter Review |
register() and unregister() requests are currently tracked by timers so that a register() DOMRequest is notified of failure if the server cannot be reached or does not reply fast enough. With unregister() being a local call (see PushService.unregister()) for justification, unregister() no longer needs the timer to be used. This is a very simple fix with _sendRequest() replaced by _send().
Reporter | ||
Updated•11 years ago
|
Whiteboard: [good-first-bug] → [good-first-bug][mentor=nsm]
Assignee | ||
Comment 1•11 years ago
|
||
I'd like to take this one as my first bug.
Reporter | ||
Updated•11 years ago
|
Assignee: nobody → mail
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #771447 -
Flags: review?(nsm.nikhil)
Reporter | ||
Comment 3•11 years ago
|
||
Robert, The patch looks good, but I don't want to land without verifying some things. I am on vacation till Monday, so I'll probably r+ and land then. Thanks for the patch!
Assignee | ||
Comment 4•11 years ago
|
||
That's no problem. When you do take a look, would you mind letting me know what kinds of things you are verifying? I'd like to get a better idea of how things are tested.
Reporter | ||
Updated•11 years ago
|
Attachment #771447 -
Flags: review?(nsm.nikhil) → review+
Reporter | ||
Comment 5•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/307ab52a74fc I didn't really have to test anything since this was a minor change. I just wanted to verify that that was the only change required. Thanks again for the patch.
Assignee | ||
Comment 6•11 years ago
|
||
No problem. :)
Comment 7•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/307ab52a74fc
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•