summaryrefslogtreecommitdiffstats
path: root/toolkit/modules/ActorManagerParent.sys.mjs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /toolkit/modules/ActorManagerParent.sys.mjs
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-adbda400be353e676059e335c3c0aaf99e719475.tar.xz
firefox-adbda400be353e676059e335c3c0aaf99e719475.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/modules/ActorManagerParent.sys.mjs')
-rw-r--r--toolkit/modules/ActorManagerParent.sys.mjs29
1 files changed, 28 insertions, 1 deletions
diff --git a/toolkit/modules/ActorManagerParent.sys.mjs b/toolkit/modules/ActorManagerParent.sys.mjs
index 3bf7299abe..5b31421ec6 100644
--- a/toolkit/modules/ActorManagerParent.sys.mjs
+++ b/toolkit/modules/ActorManagerParent.sys.mjs
@@ -317,6 +317,17 @@ let JSWINDOWACTORS = {
child: {
esModuleURI: "resource://gre/actors/FormHistoryChild.sys.mjs",
events: {
+ "form-submission-detected": {},
+ },
+ },
+
+ allFrames: true,
+ },
+
+ FormHandler: {
+ child: {
+ esModuleURI: "resource://gre/actors/FormHandlerChild.sys.mjs",
+ events: {
DOMFormBeforeSubmit: {},
},
},
@@ -355,7 +366,7 @@ let JSWINDOWACTORS = {
child: {
esModuleURI: "resource://gre/modules/LoginManagerChild.sys.mjs",
events: {
- DOMFormBeforeSubmit: {},
+ "form-submission-detected": {},
DOMFormHasPassword: {},
DOMFormHasPossibleUsername: {},
DOMInputPasswordAdded: {},
@@ -372,6 +383,22 @@ let JSWINDOWACTORS = {
},
},
+ // A single process (shared with translations) that manages machine learning engines.
+ MLEngine: {
+ parent: {
+ esModuleURI: "resource://gre/actors/MLEngineParent.sys.mjs",
+ },
+ child: {
+ esModuleURI: "resource://gre/actors/MLEngineChild.sys.mjs",
+ events: {
+ DOMContentLoaded: { createActor: true },
+ },
+ },
+ includeChrome: true,
+ matches: ["chrome://global/content/ml/MLEngine.html"],
+ enablePreference: "browser.ml.enable",
+ },
+
NetError: {
parent: {
esModuleURI: "resource://gre/actors/NetErrorParent.sys.mjs",