зеркало из https://github.com/mozilla/gecko-dev.git
Bug 867632 - Replace _sendRequest() with _send() for PushService.unregister(). r=nsm
--HG-- extra : amend_source : 18127d1d10683069fa3ab12394aae63b9c0ac843
This commit is contained in:
Родитель
0cad7b2d27
Коммит
4d7cdf6dc6
|
@ -1207,7 +1207,7 @@ this.PushService = {
|
|||
this._db.delete(record.channelID, function() {
|
||||
// Let's be nice to the server and try to inform it, but we don't care
|
||||
// about the reply.
|
||||
this._sendRequest("unregister", {channelID: record.channelID});
|
||||
this._send("unregister", {channelID: record.channelID});
|
||||
aMessageManager.sendAsyncMessage("PushService:Unregister:OK", {
|
||||
requestID: aPageRecord.requestID,
|
||||
pushEndpoint: aPageRecord.pushEndpoint
|
||||
|
|
Загрузка…
Ссылка в новой задаче