summaryrefslogtreecommitdiffstats
path: root/dom/push/test
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
commitd8bbc7858622b6d9c278469aab701ca0b609cddf (patch)
treeeff41dc61d9f714852212739e6b3738b82a2af87 /dom/push/test
parentReleasing progress-linux version 125.0.3-1~progress7.99u1. (diff)
downloadfirefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.tar.xz
firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.zip
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/push/test')
-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.
*/