summaryrefslogtreecommitdiffstats
path: root/dom/push/PushServiceWebSocket.sys.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'dom/push/PushServiceWebSocket.sys.mjs')
-rw-r--r--dom/push/PushServiceWebSocket.sys.mjs8
1 files changed, 4 insertions, 4 deletions
diff --git a/dom/push/PushServiceWebSocket.sys.mjs b/dom/push/PushServiceWebSocket.sys.mjs
index 72d8791a96..59e8f403f1 100644
--- a/dom/push/PushServiceWebSocket.sys.mjs
+++ b/dom/push/PushServiceWebSocket.sys.mjs
@@ -80,11 +80,11 @@ PushWebSocketListener.prototype = {
this._pushService._wsOnStop(context, statusCode);
},
- onAcknowledge(context, size) {
+ onAcknowledge() {
// EMPTY
},
- onBinaryMessageAvailable(context, message) {
+ onBinaryMessageAvailable() {
// EMPTY
},
@@ -971,7 +971,7 @@ export var PushServiceWebSocket = {
// Otherwise, we're still setting up. If we don't have a request queue,
// make one now.
if (!this._notifyRequestQueue) {
- let promise = new Promise((resolve, reject) => {
+ let promise = new Promise(resolve => {
this._notifyRequestQueue = resolve;
});
this._enqueue(_ => promise);
@@ -1037,7 +1037,7 @@ export var PushServiceWebSocket = {
},
// begin Push protocol handshake
- _wsOnStart(context) {
+ _wsOnStart() {
lazy.console.debug("wsOnStart()");
if (this._currentState != STATE_WAITING_FOR_WS_START) {