summaryrefslogtreecommitdiffstats
path: root/dom/push/test/xpcshell/test_quota_exceeded.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /dom/push/test/xpcshell/test_quota_exceeded.js
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-upstream/125.0.1.tar.xz
firefox-upstream/125.0.1.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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() {},
});
},
});