summaryrefslogtreecommitdiffstats
path: root/dom/push/test/test_utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/push/test/test_utils.js')
-rw-r--r--dom/push/test/test_utils.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/dom/push/test/test_utils.js b/dom/push/test/test_utils.js
index 5ecda2bd96..eb89cd1b72 100644
--- a/dom/push/test/test_utils.js
+++ b/dom/push/test/test_utils.js
@@ -4,9 +4,9 @@ const url = SimpleTest.getTestFileURL("mockpushserviceparent.js");
const chromeScript = SpecialPowers.loadChromeScript(url);
/**
- * Replaces `PushService.jsm` with a mock implementation that handles requests
+ * Replaces `PushService.sys.mjs` with a mock implementation that handles requests
* from the DOM API. This allows tests to simulate local errors and error
- * reporting, bypassing the `PushService.jsm` machinery.
+ * reporting, bypassing the `PushService.sys.mjs` machinery.
*/
async function replacePushService(mockService) {
chromeScript.addMessageListener("service-delivery-error", function (msg) {
@@ -58,7 +58,7 @@ let currentMockSocket = null;
/**
* Sets up a mock connection for the WebSocket backend. This only replaces
- * the transport layer; `PushService.jsm` still handles DOM API requests,
+ * the transport layer; `PushService.sys.mjs` still handles DOM API requests,
* observes permission changes, writes to IndexedDB, and notifies service
* workers of incoming push messages.
*/