summaryrefslogtreecommitdiffstats
path: root/dom/push/PushServiceHttp2.sys.mjs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
commit086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch)
treea4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /dom/push/PushServiceHttp2.sys.mjs
parentAdding debian version 124.0.1-1. (diff)
downloadfirefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz
firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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)