summaryrefslogtreecommitdiffstats
path: root/dom/push/test/test_utils.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:50 +0000
commitdef92d1b8e9d373e2f6f27c366d578d97d8960c6 (patch)
tree2ef34b9ad8bb9a9220e05d60352558b15f513894 /dom/push/test/test_utils.js
parentAdding debian version 125.0.3-1. (diff)
downloadfirefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.tar.xz
firefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.zip
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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.
*/