summaryrefslogtreecommitdiffstats
path: root/dom/push/PushServiceHttp2.sys.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'dom/push/PushServiceHttp2.sys.mjs')
-rw-r--r--dom/push/PushServiceHttp2.sys.mjs14
1 files changed, 7 insertions, 7 deletions
diff --git a/dom/push/PushServiceHttp2.sys.mjs b/dom/push/PushServiceHttp2.sys.mjs
index 76ac85d7b1..838071f701 100644
--- a/dom/push/PushServiceHttp2.sys.mjs
+++ b/dom/push/PushServiceHttp2.sys.mjs
@@ -52,7 +52,7 @@ PushSubscriptionListener.prototype = {
return this.QueryInterface(aIID);
},
- onStartRequest(aRequest) {
+ onStartRequest() {
lazy.console.debug("PushSubscriptionListener: onStartRequest()");
// We do not do anything here.
},
@@ -174,7 +174,7 @@ var PushServiceDelete = function (resolve, reject) {
};
PushServiceDelete.prototype = {
- onStartRequest(aRequest) {},
+ onStartRequest() {},
onDataAvailable(aRequest, aStream, aOffset, aCount) {
// Nobody should send data, but just to be sure, otherwise necko will
@@ -218,9 +218,9 @@ var SubscriptionListener = function (
};
SubscriptionListener.prototype = {
- onStartRequest(aRequest) {},
+ onStartRequest() {},
- onDataAvailable(aRequest, aStream, aOffset, aCount) {},
+ onDataAvailable() {},
onStopRequest(aRequest, aStatus) {
lazy.console.debug("SubscriptionListener: onStopRequest()");
@@ -418,12 +418,12 @@ export var PushServiceHttp2 = {
return this._mainPushService !== null;
},
- async connect(broadcastListeners) {
+ async connect() {
let subscriptions = await this._mainPushService.getAllUnexpired();
this.startConnections(subscriptions);
},
- async sendSubscribeBroadcast(serviceId, version) {
+ async sendSubscribeBroadcast() {
// Not implemented yet
},
@@ -737,7 +737,7 @@ export var PushServiceHttp2 = {
.catch(console.error);
}
},
- error => {
+ () => {
if (this._mainPushService) {
this._mainPushService
.dropRegistrationAndNotifyApp(aSubscriptionUri)