summaryrefslogtreecommitdiffstats
path: root/dom/push/test/xpcshell/test_notification_incomplete.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/push/test/xpcshell/test_notification_incomplete.js')
-rw-r--r--dom/push/test/xpcshell/test_notification_incomplete.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/push/test/xpcshell/test_notification_incomplete.js b/dom/push/test/xpcshell/test_notification_incomplete.js
index 48aba51132..ee94b44316 100644
--- a/dom/push/test/xpcshell/test_notification_incomplete.js
+++ b/dom/push/test/xpcshell/test_notification_incomplete.js
@@ -56,7 +56,7 @@ add_task(async function test_notification_incomplete() {
await db.put(record);
}
- function observeMessage(subject, topic, data) {
+ function observeMessage() {
ok(false, "Should not deliver malformed updates");
}
registerCleanupFunction(() =>
@@ -79,7 +79,7 @@ add_task(async function test_notification_incomplete() {
db,
makeWebSocket(uri) {
return new MockWebSocket(uri, {
- onHello(request) {
+ onHello() {
this.serverSendMsg(
JSON.stringify({
messageType: "hello",