summaryrefslogtreecommitdiffstats
path: root/dom/push/test/xpcshell/test_clearAll_successful.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/push/test/xpcshell/test_clearAll_successful.js')
-rw-r--r--dom/push/test/xpcshell/test_clearAll_successful.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/push/test/xpcshell/test_clearAll_successful.js b/dom/push/test/xpcshell/test_clearAll_successful.js
index a638fffaaf..7a919c3b23 100644
--- a/dom/push/test/xpcshell/test_clearAll_successful.js
+++ b/dom/push/test/xpcshell/test_clearAll_successful.js
@@ -7,7 +7,7 @@ var db;
var unregisterDefers = {};
var userAgentID = "4ce480ef-55b2-4f83-924c-dcd35ab978b4";
-function promiseUnregister(keyID, code) {
+function promiseUnregister(keyID) {
return new Promise(r => (unregisterDefers[keyID] = r));
}
@@ -41,7 +41,7 @@ add_task(async function setup() {
db,
makeWebSocket(uri) {
return new MockWebSocket(uri, {
- onHello(request) {
+ onHello() {
this.serverSendMsg(
JSON.stringify({
messageType: "hello",