summaryrefslogtreecommitdiffstats
path: root/testing/specialpowers
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
commitda4c7e7ed675c3bf405668739c3012d140856109 (patch)
treecdd868dba063fecba609a1d819de271f0d51b23e /testing/specialpowers
parentAdding upstream version 125.0.3. (diff)
downloadfirefox-da4c7e7ed675c3bf405668739c3012d140856109.tar.xz
firefox-da4c7e7ed675c3bf405668739c3012d140856109.zip
Adding upstream version 126.0.upstream/126.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/specialpowers')
-rw-r--r--testing/specialpowers/content/AppTestDelegateParent.sys.mjs4
-rw-r--r--testing/specialpowers/content/SpecialPowersChild.sys.mjs6
2 files changed, 5 insertions, 5 deletions
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) {