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 --- testing/specialpowers/content/AppTestDelegateParent.sys.mjs | 4 ++-- testing/specialpowers/content/SpecialPowersChild.sys.mjs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'testing/specialpowers') diff --git a/testing/specialpowers/content/AppTestDelegateParent.sys.mjs b/testing/specialpowers/content/AppTestDelegateParent.sys.mjs index b271dea3df..ec871c644a 100644 --- a/testing/specialpowers/content/AppTestDelegateParent.sys.mjs +++ b/testing/specialpowers/content/AppTestDelegateParent.sys.mjs @@ -23,8 +23,8 @@ * ## Overview of files supporting "AppTestDelegate": * * MOZ_BUILD_APP-specific AppUiTestDelegate.sys.mjs implementations: - * - browser/components/extensions/test/AppUiTestDelegate.jsm - * - mobile/android/modules/test/AppUiTestDelegate.jsm + * - browser/components/extensions/test/AppUiTestDelegate.sys.mjs + * - mobile/android/modules/test/AppUiTestDelegate.sys.mjs * - mail/components/extensions/test/AppUiTestDelegate.sys.mjs (in comm-central) * * Glue between AppUiTestDelegate.sys.mjs in parent and test code in child: diff --git a/testing/specialpowers/content/SpecialPowersChild.sys.mjs b/testing/specialpowers/content/SpecialPowersChild.sys.mjs index ed972e4315..61070fe4ce 100644 --- a/testing/specialpowers/content/SpecialPowersChild.sys.mjs +++ b/testing/specialpowers/content/SpecialPowersChild.sys.mjs @@ -473,7 +473,7 @@ export class SpecialPowersChild extends JSWindowActorChild { } async registeredServiceWorkers() { - // Please see the comment in SpecialPowersObserver.jsm above + // Please see the comment in SpecialPowersParent.sys.mjs above // this._serviceWorkerListener's assignment for what this returns. if (this._serviceWorkerRegistered) { // This test registered at least one service worker. Send a synchronous @@ -825,14 +825,14 @@ export class SpecialPowersChild extends JSWindowActorChild { * This function should be used when specialpowers is in content process but * it want to get the notification from chrome space. * - * This function will call Services.obs.addObserver in SpecialPowersObserver + * This function will call Services.obs.addObserver in SpecialPowersParent * (that is in chrome process) and forward the data received to SpecialPowers * via messageManager. * You can use this._addMessageListener("specialpowers-YOUR_TOPIC") to fire * the callback. * * To get the expected data, you should modify - * SpecialPowersObserver.prototype._registerObservers.observe. Or the message + * SpecialPowersParent.prototype._registerObservers.observe. Or the message * you received from messageManager will only contain 'aData' from Service.obs. */ registerObservers(topic) { -- cgit v1.2.3