From d8bbc7858622b6d9c278469aab701ca0b609cddf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:35:49 +0200 Subject: Merging upstream version 126.0. Signed-off-by: Daniel Baumann --- dom/push/moz.build | 2 +- dom/push/test/test_utils.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'dom/push') diff --git a/dom/push/moz.build b/dom/push/moz.build index 0065fd21f6..39da18de23 100644 --- a/dom/push/moz.build +++ b/dom/push/moz.build @@ -4,7 +4,7 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. with Files("**"): - BUG_COMPONENT = ("Core", "DOM: Notifications") + BUG_COMPONENT = ("Core", "DOM: Push Subscriptions") EXTRA_COMPONENTS += [ "Push.manifest", 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. */ -- cgit v1.2.3