From 8f86bd2092e4b4f1581b6e2e9a5de5f3ca6c1c45 Mon Sep 17 00:00:00 2001 From: Mark Banner Date: Wed, 23 Mar 2022 12:03:28 +0000 Subject: [PATCH] Bug 1758107 - Fix some ESLint no-unused-vars warnings in dom/push/test. r=mt Differential Revision: https://phabricator.services.mozilla.com/D140324 --- dom/push/test/xpcshell/test_quota_with_notification.js | 1 - dom/push/test/xpcshell/test_register_flush.js | 1 - .../test/xpcshell/test_updateRecordNoEncryptionKeys_http2.js | 4 ---- 3 files changed, 6 deletions(-) diff --git a/dom/push/test/xpcshell/test_quota_with_notification.js b/dom/push/test/xpcshell/test_quota_with_notification.js index e79927c1e27e..59e8e97fa6b8 100644 --- a/dom/push/test/xpcshell/test_quota_with_notification.js +++ b/dom/push/test/xpcshell/test_quota_with_notification.js @@ -4,7 +4,6 @@ "use strict"; const userAgentID = "aaabf1f8-2f68-44f1-a920-b88e9e7d7559"; -const nsIPushQuotaManager = Ci.nsIPushQuotaManager; function run_test() { do_get_profile(); diff --git a/dom/push/test/xpcshell/test_register_flush.js b/dom/push/test/xpcshell/test_register_flush.js index cd0cc67b28b8..2c12ecb9ba3e 100644 --- a/dom/push/test/xpcshell/test_register_flush.js +++ b/dom/push/test/xpcshell/test_register_flush.js @@ -4,7 +4,6 @@ "use strict"; const userAgentID = "9ce1e6d3-7bdb-4fe9-90a5-def1d64716f1"; -const channelID = "c26892c5-6e08-4c16-9f0c-0044697b4d85"; function run_test() { do_get_profile(); diff --git a/dom/push/test/xpcshell/test_updateRecordNoEncryptionKeys_http2.js b/dom/push/test/xpcshell/test_updateRecordNoEncryptionKeys_http2.js index aab71a0f8295..e3e63833717b 100644 --- a/dom/push/test/xpcshell/test_updateRecordNoEncryptionKeys_http2.js +++ b/dom/push/test/xpcshell/test_updateRecordNoEncryptionKeys_http2.js @@ -7,10 +7,6 @@ const { HttpServer } = ChromeUtils.import("resource://testing-common/httpd.js"); var httpServer = null; -XPCOMUtils.defineLazyGetter(this, "serverPort", function() { - return httpServer.identity.primaryPort; -}); - function listenHandler(metadata, response) { Assert.ok(true, "Start listening"); httpServer.stop(do_test_finished);