summaryrefslogtreecommitdiffstats
path: root/dom/push/test/xpcshell/test_quota_exceeded.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/push/test/xpcshell/test_quota_exceeded.js')
-rw-r--r--dom/push/test/xpcshell/test_quota_exceeded.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/dom/push/test/xpcshell/test_quota_exceeded.js b/dom/push/test/xpcshell/test_quota_exceeded.js
index f8365aa888..d802871550 100644
--- a/dom/push/test/xpcshell/test_quota_exceeded.js
+++ b/dom/push/test/xpcshell/test_quota_exceeded.js
@@ -77,7 +77,7 @@ add_task(async function test_expiration_origin_threshold() {
let updates = 0;
let notifyPromise = promiseObserverNotification(
PushServiceComponent.pushTopic,
- (subject, data) => {
+ () => {
updates++;
return updates == 6;
}
@@ -91,7 +91,7 @@ add_task(async function test_expiration_origin_threshold() {
db,
makeWebSocket(uri) {
return new MockWebSocket(uri, {
- onHello(request) {
+ onHello() {
this.serverSendMsg(
JSON.stringify({
messageType: "hello",
@@ -140,7 +140,7 @@ add_task(async function test_expiration_origin_threshold() {
},
// We expect to receive acks, but don't care about their
// contents.
- onACK(request) {},
+ onACK() {},
});
},
});